Update agents/crew.py
Browse files- agents/crew.py +1 -2
agents/crew.py
CHANGED
|
@@ -13,7 +13,6 @@ from agents.models.llms import (
|
|
| 13 |
LLM_AGENT
|
| 14 |
)
|
| 15 |
from agents.tools.ai_tools import AITools
|
| 16 |
-
from agents.tools.ai_tools.AITools import final_answer_tool
|
| 17 |
from agents.tools.deterministic_tools import DeterministicTools
|
| 18 |
from agents.tools.mcp_tools import MCPTools
|
| 19 |
from crewai import Agent, Crew, Task, Process
|
|
@@ -277,7 +276,7 @@ def run_crew(question, file_path):
|
|
| 277 |
answer = GAIACrew().crew().kickoff(inputs={"question": final_question})
|
| 278 |
print(f"🤖 Crew execution completed")
|
| 279 |
|
| 280 |
-
final_answer = final_answer_tool(question, answer)
|
| 281 |
|
| 282 |
print(f"🤖 Answer: {final_answer}")
|
| 283 |
|
|
|
|
| 13 |
LLM_AGENT
|
| 14 |
)
|
| 15 |
from agents.tools.ai_tools import AITools
|
|
|
|
| 16 |
from agents.tools.deterministic_tools import DeterministicTools
|
| 17 |
from agents.tools.mcp_tools import MCPTools
|
| 18 |
from crewai import Agent, Crew, Task, Process
|
|
|
|
| 276 |
answer = GAIACrew().crew().kickoff(inputs={"question": final_question})
|
| 277 |
print(f"🤖 Crew execution completed")
|
| 278 |
|
| 279 |
+
final_answer = AITools.final_answer_tool(question, answer)
|
| 280 |
|
| 281 |
print(f"🤖 Answer: {final_answer}")
|
| 282 |
|