Spaces:
Sleeping
Sleeping
Update gaia_agent.py
Browse files- gaia_agent.py +8 -7
gaia_agent.py
CHANGED
|
@@ -53,13 +53,14 @@ api_key = os.getenv("HF_TOKEN")
|
|
| 53 |
# search_tool = DuckDuckGoSearchRun()
|
| 54 |
|
| 55 |
# Generate the chat interface, including the tools
|
| 56 |
-
llm = HuggingFaceEndpoint(
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
)
|
|
|
|
| 63 |
|
| 64 |
# # Initialize local Ollama model
|
| 65 |
# llm Ollama(model="qwen2.5-coder", base_url="http://127.0.0.1:11434")
|
|
|
|
| 53 |
# search_tool = DuckDuckGoSearchRun()
|
| 54 |
|
| 55 |
# Generate the chat interface, including the tools
|
| 56 |
+
# llm = HuggingFaceEndpoint(
|
| 57 |
+
# #repo_id="Qwen/Qwen2.5-Coder-32B-Instruct",
|
| 58 |
+
# #repo_id="deepseek-ai/DeepSeek-R1-0528",
|
| 59 |
+
# repo_id="meta-llama/Llama-3.2-1B-Instruct",
|
| 60 |
+
# huggingfacehub_api_token=api_key,
|
| 61 |
+
# timeout=300,
|
| 62 |
+
# )
|
| 63 |
+
llm = OpenAI(model="gpt-4o-mini", temperature=0.2, api_key=OpenAI_key)
|
| 64 |
|
| 65 |
# # Initialize local Ollama model
|
| 66 |
# llm Ollama(model="qwen2.5-coder", base_url="http://127.0.0.1:11434")
|