We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b7b45d commit e7d4848Copy full SHA for e7d4848
async-openai/src/types/assistant_stream.rs
@@ -207,7 +207,9 @@ impl TryFrom<eventsource_stream::Event> for AssistantStreamEvent {
207
.map(AssistantStreamEvent::ErrorEvent),
208
"done" => Ok(AssistantStreamEvent::Done(value.data)),
209
210
- _ => Err(OpenAIError::StreamError(Box::new(StreamError::UnknownEvent(value)))),
+ _ => Err(OpenAIError::StreamError(Box::new(
211
+ StreamError::UnknownEvent(value),
212
+ ))),
213
}
214
215
0 commit comments