# Environment Configuration for Vendor-Neutral Smolagents Fork # Copy this file to .env and fill in your values # ============================================================================ # CSV Tool Configuration # ============================================================================ # Path to CSV file containing tool definitions # Format: name,description,function,parameters CSV_TOOLS_PATH=./tools.csv # Path to CSV data files directory CSV_DATA_DIR=./data # Default CSV encoding CSV_ENCODING=utf-8 # CSV delimiter (default is comma) CSV_DELIMITER=, # ============================================================================ # Agent Configuration # ============================================================================ # Agent model backend (vendor-neutral options) # Options: openai, anthropic, huggingface, local, ollama AGENT_BACKEND=huggingface # Agent model name (depends on backend) AGENT_MODEL_NAME=HuggingFaceH4/zephyr-7b-beta # Maximum tokens for agent responses AGENT_MAX_TOKENS=2048 # Temperature for agent responses (0.0 to 1.0) AGENT_TEMPERATURE=0.7 # ============================================================================ # API Keys (if using external providers) # ============================================================================ # OpenAI API Key (if using OpenAI backend) # OPENAI_API_KEY=your_openai_api_key_here # Anthropic API Key (if using Anthropic backend) # ANTHROPIC_API_KEY=your_anthropic_api_key_here # HuggingFace API Token (if using HF Inference API) # HUGGINGFACE_API_TOKEN=your_huggingface_token_here # ============================================================================ # Gradio UI Configuration # ============================================================================ # Server host GRADIO_SERVER_HOST=0.0.0.0 # Server port GRADIO_SERVER_PORT=7860 # Enable Gradio analytics GRADIO_ANALYTICS_ENABLED=False # Theme (default, soft, monochrome, etc.) GRADIO_THEME=default # ============================================================================ # Logging Configuration # ============================================================================ # Log level (DEBUG, INFO, WARNING, ERROR, CRITICAL) LOG_LEVEL=INFO # Log file path (leave empty to log to console only) LOG_FILE= # ============================================================================ # Tool Execution Configuration # ============================================================================ # Enable tool execution sandboxing TOOL_SANDBOX_ENABLED=True # Maximum tool execution time (seconds) TOOL_TIMEOUT=30 # Maximum concurrent tool executions TOOL_MAX_CONCURRENT=3 # ============================================================================ # Development Settings # ============================================================================ # Enable debug mode DEBUG=False # Enable hot reload HOT_RELOAD=False # Enable verbose logging VERBOSE=False