mirror of
https://github.com/crewAIInc/crewAI.git
synced 2025-12-16 04:18:35 +00:00
small formatting details
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -12,4 +12,5 @@ old_en.json
|
|||||||
db/
|
db/
|
||||||
test.py
|
test.py
|
||||||
rc-tests/*
|
rc-tests/*
|
||||||
*.pkl
|
*.pkl
|
||||||
|
temp/*
|
||||||
@@ -299,8 +299,10 @@ class Crew(BaseModel):
|
|||||||
and not agent.function_calling_llm
|
and not agent.function_calling_llm
|
||||||
):
|
):
|
||||||
agent.function_calling_llm = self.function_calling_llm
|
agent.function_calling_llm = self.function_calling_llm
|
||||||
|
|
||||||
if hasattr(agent, "allow_code_execution") and agent.allow_code_execution:
|
if hasattr(agent, "allow_code_execution") and agent.allow_code_execution:
|
||||||
agent.tools += agent.get_code_execution_tools()
|
agent.tools += agent.get_code_execution_tools()
|
||||||
|
|
||||||
if hasattr(agent, "step_callback") and not agent.step_callback:
|
if hasattr(agent, "step_callback") and not agent.step_callback:
|
||||||
agent.step_callback = self.step_callback
|
agent.step_callback = self.step_callback
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user