Skip to content

Commit

Permalink
fix: openai provider
Browse files Browse the repository at this point in the history
  • Loading branch information
mateobelanger committed Dec 9, 2024
1 parent 8fae903 commit b70cdd7
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions pages/docs/4_integrations/40_model_providers/openai.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -108,18 +108,6 @@ impl Client {
Tool calling and response handling:

```rust filename="rig-core/src/providers/openai.rs [350:450]"
...
),
raw_response: value,
})
}
_ => Err(CompletionError::ResponseError(
"Response did not contain a message or tool call".into(),
)),
}
}
}

#[derive(Debug, Deserialize)]
pub struct Choice {
pub index: usize,
Expand Down

0 comments on commit b70cdd7

Please sign in to comment.