small formatting details

This commit is contained in:
João Moura
2024-07-01 03:34:33 -07:00
parent 939a18a4d2
commit 6943eb4463
2 changed files with 4 additions and 1 deletions

3
.gitignore vendored
View File

@@ -12,4 +12,5 @@ old_en.json
db/
test.py
rc-tests/*
*.pkl
*.pkl
temp/*

View File

@@ -299,8 +299,10 @@ class Crew(BaseModel):
and not agent.function_calling_llm
):
agent.function_calling_llm = self.function_calling_llm
if hasattr(agent, "allow_code_execution") and agent.allow_code_execution:
agent.tools += agent.get_code_execution_tools()
if hasattr(agent, "step_callback") and not agent.step_callback:
agent.step_callback = self.step_callback