Update app.py
Browse files
app.py
CHANGED
|
@@ -23,7 +23,9 @@ def get_file_content_tool(task_id: str) -> str:
|
|
| 23 |
return f"Failed to download file for task {task_id}"
|
| 24 |
|
| 25 |
# 2. Initialize model and agent
|
| 26 |
-
model = InferenceClientModel(
|
|
|
|
|
|
|
| 27 |
|
| 28 |
agent = CodeAgent(
|
| 29 |
tools=[DuckDuckGoSearchTool(), get_file_content_tool],
|
|
|
|
| 23 |
return f"Failed to download file for task {task_id}"
|
| 24 |
|
| 25 |
# 2. Initialize model and agent
|
| 26 |
+
model = InferenceClientModel(
|
| 27 |
+
model_id="Qwen/Qwen2.5-Coder-32B-Instruct",
|
| 28 |
+
)
|
| 29 |
|
| 30 |
agent = CodeAgent(
|
| 31 |
tools=[DuckDuckGoSearchTool(), get_file_content_tool],
|