Update agents/crew.py
Browse files- agents/crew.py +9 -1
agents/crew.py
CHANGED
|
@@ -5,8 +5,12 @@
|
|
| 5 |
|
| 6 |
import os
|
| 7 |
from agents.models.llms import (
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
LLM_MANAGER,
|
| 9 |
-
LLM_AGENT
|
| 10 |
)
|
| 11 |
from agents.tools.ai_tools import AITools
|
| 12 |
from agents.tools.deterministic_tools import DeterministicTools
|
|
@@ -225,6 +229,10 @@ class GAIACrew():
|
|
| 225 |
return Crew(
|
| 226 |
agents=self.agents,
|
| 227 |
tasks=self.tasks,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 228 |
memory=MEMORY_CREW,
|
| 229 |
planning=PLANNING_CREW,
|
| 230 |
verbose=VERBOSE_CREW
|
|
|
|
| 5 |
|
| 6 |
import os
|
| 7 |
from agents.models.llms import (
|
| 8 |
+
LLM_CREW_MANAGER,
|
| 9 |
+
LLM_CREW_PLANNING,
|
| 10 |
+
LLM_CREW_FUNCTION_CALLING,
|
| 11 |
+
LLM_CREW_EMBEDDER,
|
| 12 |
LLM_MANAGER,
|
| 13 |
+
LLM_AGENT
|
| 14 |
)
|
| 15 |
from agents.tools.ai_tools import AITools
|
| 16 |
from agents.tools.deterministic_tools import DeterministicTools
|
|
|
|
| 229 |
return Crew(
|
| 230 |
agents=self.agents,
|
| 231 |
tasks=self.tasks,
|
| 232 |
+
manager_llm=LLM_CREW_MANAGER,
|
| 233 |
+
planning_llm=LLM_CREW_PLANNING,
|
| 234 |
+
function_calling_llm=LLM_CREW_FUNCTION_CALLING,
|
| 235 |
+
embedder=LLM_CREW_EMBEDDER,
|
| 236 |
memory=MEMORY_CREW,
|
| 237 |
planning=PLANNING_CREW,
|
| 238 |
verbose=VERBOSE_CREW
|