-
-
Notifications
You must be signed in to change notification settings - Fork 13
REQUIRES_ACTION vs REQUIRED_ACTION #52
-
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"])
Beta Was this translation helpful? Give feedback.