stackConsult commited on
Commit
9cec6dc
·
verified ·
1 Parent(s): 15efb8c

Create smolagents/.env.sample

Browse files
Files changed (1) hide show
  1. smolagents/.env.sample +101 -0
smolagents/.env.sample ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Environment Configuration for Vendor-Neutral Smolagents Fork
2
+ # Copy this file to .env and fill in your values
3
+
4
+ # ============================================================================
5
+ # CSV Tool Configuration
6
+ # ============================================================================
7
+
8
+ # Path to CSV file containing tool definitions
9
+ # Format: name,description,function,parameters
10
+ CSV_TOOLS_PATH=./tools.csv
11
+
12
+ # Path to CSV data files directory
13
+ CSV_DATA_DIR=./data
14
+
15
+ # Default CSV encoding
16
+ CSV_ENCODING=utf-8
17
+
18
+ # CSV delimiter (default is comma)
19
+ CSV_DELIMITER=,
20
+
21
+ # ============================================================================
22
+ # Agent Configuration
23
+ # ============================================================================
24
+
25
+ # Agent model backend (vendor-neutral options)
26
+ # Options: openai, anthropic, huggingface, local, ollama
27
+ AGENT_BACKEND=huggingface
28
+
29
+ # Agent model name (depends on backend)
30
+ AGENT_MODEL_NAME=HuggingFaceH4/zephyr-7b-beta
31
+
32
+ # Maximum tokens for agent responses
33
+ AGENT_MAX_TOKENS=2048
34
+
35
+ # Temperature for agent responses (0.0 to 1.0)
36
+ AGENT_TEMPERATURE=0.7
37
+
38
+ # ============================================================================
39
+ # API Keys (if using external providers)
40
+ # ============================================================================
41
+
42
+ # OpenAI API Key (if using OpenAI backend)
43
+ # OPENAI_API_KEY=your_openai_api_key_here
44
+
45
+ # Anthropic API Key (if using Anthropic backend)
46
+ # ANTHROPIC_API_KEY=your_anthropic_api_key_here
47
+
48
+ # HuggingFace API Token (if using HF Inference API)
49
+ # HUGGINGFACE_API_TOKEN=your_huggingface_token_here
50
+
51
+ # ============================================================================
52
+ # Gradio UI Configuration
53
+ # ============================================================================
54
+
55
+ # Server host
56
+ GRADIO_SERVER_HOST=0.0.0.0
57
+
58
+ # Server port
59
+ GRADIO_SERVER_PORT=7860
60
+
61
+ # Enable Gradio analytics
62
+ GRADIO_ANALYTICS_ENABLED=False
63
+
64
+ # Theme (default, soft, monochrome, etc.)
65
+ GRADIO_THEME=default
66
+
67
+ # ============================================================================
68
+ # Logging Configuration
69
+ # ============================================================================
70
+
71
+ # Log level (DEBUG, INFO, WARNING, ERROR, CRITICAL)
72
+ LOG_LEVEL=INFO
73
+
74
+ # Log file path (leave empty to log to console only)
75
+ LOG_FILE=
76
+
77
+ # ============================================================================
78
+ # Tool Execution Configuration
79
+ # ============================================================================
80
+
81
+ # Enable tool execution sandboxing
82
+ TOOL_SANDBOX_ENABLED=True
83
+
84
+ # Maximum tool execution time (seconds)
85
+ TOOL_TIMEOUT=30
86
+
87
+ # Maximum concurrent tool executions
88
+ TOOL_MAX_CONCURRENT=3
89
+
90
+ # ============================================================================
91
+ # Development Settings
92
+ # ============================================================================
93
+
94
+ # Enable debug mode
95
+ DEBUG=False
96
+
97
+ # Enable hot reload
98
+ HOT_RELOAD=False
99
+
100
+ # Enable verbose logging
101
+ VERBOSE=False