Update agent.py
Browse files
agent.py
CHANGED
@@ -5,7 +5,7 @@ import json
|
|
5 |
import os
|
6 |
|
7 |
|
8 |
-
def instantiate_agent(executor_type : str="local", agent_type: str ="tool_calling", tools = available_tools) -> CodeAgent:
|
9 |
|
10 |
# Локальный агент с моделью кодером
|
11 |
if executor_type == "local" and agent_type == "code":
|
|
|
5 |
import os
|
6 |
|
7 |
|
8 |
+
def instantiate_agent(executor_type : str="local", agent_type: str ="tool_calling", tools = available_tools) -> CodeAgent | ToolCallingAgent:
|
9 |
|
10 |
# Локальный агент с моделью кодером
|
11 |
if executor_type == "local" and agent_type == "code":
|