Find answers from the community

Updated 6 months ago

Hello, i've been working with react

At a glance

The community member is working with a React agent and is experiencing issues with OpenAI being unreliable, where the message starts with "Answer (Starts With):". They are wondering where the code that reads this and identifies it as a thought observation is, and if they can edit it. The comments suggest that instead of using React, the community member should use the function calling agent or OpenAI agent, as it will be more reliable. There is no explicitly marked answer in the comments.

Hello, i've been working with react agent, and sometimes due to openai being unreliable the message starts with :
Plain Text
 Answer (Starts With): 

This happens quite often, and I was wondering, if y'all knew where the code that reads this, and says it's a thought observation etc is, and if I can edit it?
L
t
9 comments
I'm not 100% sure the intention behind this code tbh lol
But if you are using openai, just use the function calling agent / openai agent
instead of react?
ow it's on purpose ty
yea instead of react. It will be much more reliable imo (react is really only for LLMs that don't have a function calling API)
Id have to dig a little deeper to understand why the if-statement above exists
nah dw i'll use agent
ty for answering
Add a reply
Sign up and join the conversation on Discord