You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using CrewAI agents, and I want the tool's output to be the final result, I tried passing the parameter result_as_answer=True, but it didn't work.
defbuild_tool(self) ->Tool:
"""Build and return the CNAE verification tool."""wrapper=self._build_wrapper()
returnTool(
name="verificar_cnae",
description="Verifica se o código do CNAE existe na planilha na coluna Subclasse. O código deve estar no formato xxxx-x/xx.",
func=wrapper.run,
args_schema=CNAESchema,
result_as_answer=True
I think it would be interesting to have this parameter in the controls
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm using CrewAI agents, and I want the tool's output to be the final result, I tried passing the parameter result_as_answer=True, but it didn't work.
I think it would be interesting to have this parameter in the controls
Beta Was this translation helpful? Give feedback.
All reactions