Find answers from the community

Updated 2 months ago

Hey folks, i am using the OpenAI Agent

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