Skip to content

Commit e7d4848

Browse files
committed
cargo fmt
1 parent 1b7b45d commit e7d4848

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

async-openai/src/types/assistant_stream.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,9 @@ impl TryFrom<eventsource_stream::Event> for AssistantStreamEvent {
207207
.map(AssistantStreamEvent::ErrorEvent),
208208
"done" => Ok(AssistantStreamEvent::Done(value.data)),
209209

210-
_ => Err(OpenAIError::StreamError(Box::new(StreamError::UnknownEvent(value)))),
210+
_ => Err(OpenAIError::StreamError(Box::new(
211+
StreamError::UnknownEvent(value),
212+
))),
211213
}
212214
}
213215
}

0 commit comments

Comments
 (0)