fix: tools as requried=False in Agents (#4525)

Update agent.py

tools as not required by default.
This commit is contained in:
Edwin Jose 2024-11-12 17:20:33 -05:00 • committed by GitHub
commit aca2b4be73
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 8 deletions

View file

@ -183,7 +183,7 @@ class LCToolsAgentComponent(LCAgentComponent):
display_name="Tools",
input_types=["Tool", "BaseTool", "StructuredTool"],
is_list=True,
required=True,
required=False,
info="These are the tools that the agent can use to help with tasks.",
),
*LCAgentComponent._base_inputs,