mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-09 08:08:32 +00:00
small formatting details
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -13,3 +13,4 @@ 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