Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

REQUIRES_ACTION vs REQUIRED_ACTION #52

CrashCringle12 started this conversation in General
Discussion options

Howdy, I'm getting the following error was curious if maybe the type changed on openai's end and it needed to be reflected here? Seems to be receiving REQUIRES_ACTION from chatgpt but the enum here is for REQUIRED_ACTION. I see mention of both here https://platform.openai.com/docs/api-reference/runs/submitToolOutputs which maybe indicates both are valid?

com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type com.cjcrafter.openai.threads.runs.RunStatus from String "require
s_action": not one of the values accepted for Enum class: [cancelling, cancelled, queued, expired, required_action, in_progress, completed, failed]
at [Source: REDACTED (StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION disabled); line: 7, column: 13] (through reference chain: com.cjcrafter.openai.threads.r
uns.Run["status"])

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /