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
Currently, when maxStep is set to more than one in stremText, the llm will return a follow up message after a tool is called. If I set the maxStep to one, than the llm will only return the tool result. How to only return the tool result and not return a follow up message for certain tools while keeping maxStep more than one? I tried to see I can use onStepFinish but doesn't seem to work.
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
-
Currently, when
maxStep
is set to more than one instremText
, the llm will return a follow up message after a tool is called. If I set themaxStep
to one, than the llm will only return the tool result. How to only return the tool result and not return a follow up message for certain tools while keepingmaxStep
more than one? I tried to see I can useonStepFinish
but doesn't seem to work.Beta Was this translation helpful? Give feedback.
All reactions