artyomboyko commited on
Commit
5afc603
·
verified ·
1 Parent(s): 0bd883b

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +1 -1
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":