Update agents/crew.py
Browse files- agents/crew.py +8 -8
agents/crew.py
CHANGED
|
@@ -10,8 +10,8 @@ from agents.models.llms import (
|
|
| 10 |
LLM_AGENT,
|
| 11 |
)
|
| 12 |
from agents.tools.ai_tools import AITools
|
| 13 |
-
from agents.tools.
|
| 14 |
-
from agents.tools.
|
| 15 |
from crewai import Agent, Crew, Task
|
| 16 |
from crewai.agents.agent_builder.base_agent import BaseAgent
|
| 17 |
from crewai.project import CrewBase, agent, crew, task
|
|
@@ -94,7 +94,7 @@ class GAIACrew():
|
|
| 94 |
allow_delegation=False,
|
| 95 |
llm=LLM_AGENT,
|
| 96 |
max_iter=MAX_ITER_AGENT,
|
| 97 |
-
tools=[AITools.img_to_fen_tool,
|
| 98 |
reasoning=REASONING_AGENT,
|
| 99 |
max_reasoning_attempts=MAX_REASONING_ATTEMPTS_AGENT,
|
| 100 |
verbose=VERBOSE_AGENT
|
|
@@ -172,11 +172,11 @@ class GAIACrew():
|
|
| 172 |
allow_delegation=False,
|
| 173 |
llm=LLM_AGENT,
|
| 174 |
max_iter=MAX_ITER_AGENT,
|
| 175 |
-
tools=[
|
| 176 |
-
|
| 177 |
-
|
| 178 |
-
|
| 179 |
-
|
| 180 |
reasoning=REASONING_AGENT,
|
| 181 |
max_reasoning_attempts=MAX_REASONING_ATTEMPTS_AGENT,
|
| 182 |
verbose=VERBOSE_AGENT
|
|
|
|
| 10 |
LLM_AGENT,
|
| 11 |
)
|
| 12 |
from agents.tools.ai_tools import AITools
|
| 13 |
+
from agents.tools.deterministic_tools import DeterministicTools
|
| 14 |
+
from agents.tools.mcp_tools import MCPTools
|
| 15 |
from crewai import Agent, Crew, Task
|
| 16 |
from crewai.agents.agent_builder.base_agent import BaseAgent
|
| 17 |
from crewai.project import CrewBase, agent, crew, task
|
|
|
|
| 94 |
allow_delegation=False,
|
| 95 |
llm=LLM_AGENT,
|
| 96 |
max_iter=MAX_ITER_AGENT,
|
| 97 |
+
tools=[AITools.img_to_fen_tool, MCPTools.get_best_move_tool, AITools.uci_to_algebraic_tool],
|
| 98 |
reasoning=REASONING_AGENT,
|
| 99 |
max_reasoning_attempts=MAX_REASONING_ATTEMPTS_AGENT,
|
| 100 |
verbose=VERBOSE_AGENT
|
|
|
|
| 172 |
allow_delegation=False,
|
| 173 |
llm=LLM_AGENT,
|
| 174 |
max_iter=MAX_ITER_AGENT,
|
| 175 |
+
tools=[DeterministicTools.add_tool,
|
| 176 |
+
DeterministicTools.subtract_tool,
|
| 177 |
+
DeterministicTools.multiply_tool,
|
| 178 |
+
DeterministicTools.divide_tool,
|
| 179 |
+
DeterministicTools.modulus_tool],
|
| 180 |
reasoning=REASONING_AGENT,
|
| 181 |
max_reasoning_attempts=MAX_REASONING_ATTEMPTS_AGENT,
|
| 182 |
verbose=VERBOSE_AGENT
|