File size: 2,951 Bytes
9cec6dc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# 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