Skip to content

Commit 2cecea4

Browse files
authored
feature: support open router
2 parents 13f3811 + efebdb5 commit 2cecea4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/v1/resources/chat.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,6 @@ pub struct DeltaFunction {
232232

233233
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq)]
234234
pub struct ChatCompletionChoice {
235-
/// The index of the choice in the list of choices.
236-
pub index: u32,
237235
/// A chat completion message generated by the model.
238236
pub message: ChatMessage,
239237
/// The reason the model stopped generating tokens.
@@ -243,8 +241,6 @@ pub struct ChatCompletionChoice {
243241
#[cfg(feature = "stream")]
244242
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq)]
245243
pub struct ChatCompletionChunkChoice {
246-
/// The index of the choice in the list of choices.
247-
pub index: u32,
248244
/// A chat completion delta generated by streamed model responses.
249245
pub delta: DeltaChatMessage,
250246
/// The reason the model stopped generating tokens.

0 commit comments

Comments
 (0)