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
If we get a finish_reason that represents an error state, do we need to provide some tool to pop off the previous message from the stack so that you can start again?
https://platform.openai.com/docs/guides/function-calling/edge-cases
Especially the
finish_reason == "length"
case, where things like tool calls might be malformed because the context window was exhausted.The text was updated successfully, but these errors were encountered: