using tool decorator with result_as_answer #2262
Unanswered
amindadgar
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey Everybody, I've created my custom tool with
@tool
decorator but I have no idea how to use theresult_as_answer
flag for the tool function. Can anyone help me on this?crewai version
0.102.0
My code for the tool
How to apply the
result_as_answer
flag?Note: I've already tried passing this as a kwarg for the
query
but no success there.Beta Was this translation helpful? Give feedback.
All reactions