Find answers from the community

Updated 6 months ago

Hey folks, i am using the OpenAI Agent

At a glance

The community member is experiencing issues with the OpenAI Agent, where the chat sometimes does not respond at all, seemingly getting stuck in a reasoning loop. Other community members suggest checking the verbose output to see where the issue might be occurring, and one community member identifies the problem as a client-side timeout on the OpenAI API call. The default timeout is 60 seconds, which appears to be the cause of the issue.

Hey folks, i am using the OpenAI Agent and sometimes the chat does not respond at all. It seems like its in a reasoning loop or something like that. Anybody know similir issues ?
a
k
6 comments
hmmmm, are you able to do verbose=True to see in what step it might be getting stuck at?
I think the reason was a client side timeout. I am trying to replicate it with debugging logs
OK LOL i found the issue. OpenAI call in my backend times out ...

DEBUG:httpcore.connection:connect_tcp.started host='api.openai.com' port=443 local_address=None timeout=60.0 socket_options=None
connect_tcp.started host='api.openai.com' port=443 local_address=None timeout=60.0 socket_options=None
Default is 60 seconds, well well well ..
oh cool that you've pinpointd the issue
must be quite of an extensive reasoning task for it to timeout?
Add a reply
Sign up and join the conversation on Discord