async-openai icon indicating copy to clipboard operation
async-openai copied to clipboard

Fix parsing of cancelled responses

Open ysimonson opened this issue 10 months ago • 0 comments

Without this, cancelled responses fail to parse:

called `Result::unwrap()` on an `Err` value: JSON decode error: unknown variant `cancelled`, expected `incomplete` or `failed`

ysimonson avatar Dec 30 '24 13:12 ysimonson