Commit
·
beebd19
1
Parent(s):
62fb43b
fix
Browse files- .env.example +0 -1
- .env.template +15 -0
- requirements.txt +3 -2
.env.example
DELETED
|
@@ -1 +0,0 @@
|
|
| 1 |
-
XAI_API_KEY=your-groq-api-key-here
|
|
|
|
|
|
.env.template
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
HUGGINGFACEHUB_API_TOKEN=your_huggingface_token_here
|
| 2 |
+
HF_TOKEN=your_huggingface_token_here
|
| 3 |
+
HF_API_TOKEN=your_huggingface_token_here # For Hugging Face API access
|
| 4 |
+
OPENAI_API_KEY=your_openai_key_here
|
| 5 |
+
XAI_API_KEY=your_xai_api_key_here # For X.AI/Grok models
|
| 6 |
+
|
| 7 |
+
AGENT_MODEL_TYPE=OpenAIServerModel # HfApiModel, InferenceClientModel, LiteLLMModel, OpenAIServerModel
|
| 8 |
+
AGENT_MODEL_ID=gpt-4o # Model ID depends on the model type
|
| 9 |
+
AGENT_TEMPERATURE=0.2
|
| 10 |
+
AGENT_EXECUTOR_TYPE=local # local or e2b for secure execution
|
| 11 |
+
AGENT_VERBOSE=true # Set to true for detailed logging
|
| 12 |
+
|
| 13 |
+
AGENT_PROVIDER=hf-inference # Provider for InferenceClientModel
|
| 14 |
+
AGENT_TIMEOUT=120 # Timeout in seconds for API calls
|
| 15 |
+
AGENT_API_BASE=https://api.groq.com/openai/v1 # For X.AI when using OpenAIServerModel
|
requirements.txt
CHANGED
|
@@ -1,7 +1,8 @@
|
|
| 1 |
-
gradio
|
| 2 |
requests
|
| 3 |
smolagents[openai]
|
| 4 |
python-dotenv
|
| 5 |
pandas
|
| 6 |
numpy
|
| 7 |
-
openai
|
|
|
|
|
|
| 1 |
+
gradio[oauth]
|
| 2 |
requests
|
| 3 |
smolagents[openai]
|
| 4 |
python-dotenv
|
| 5 |
pandas
|
| 6 |
numpy
|
| 7 |
+
openai
|
| 8 |
+
duckduckgo-search
|