drop dead ChatResponse
This commit is contained in:
parent
b0f09a8f43
commit
7a1e580b95
1 changed files with 0 additions and 15 deletions
|
|
@ -153,21 +153,6 @@ pub struct ReasoningConfig {
|
||||||
pub effort: Option<String>,
|
pub effort: Option<String>,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Chat completion response (non-streaming).
|
|
||||||
#[derive(Debug, Deserialize)]
|
|
||||||
#[allow(dead_code)]
|
|
||||||
pub struct ChatResponse {
|
|
||||||
pub choices: Vec<Choice>,
|
|
||||||
pub usage: Option<Usage>,
|
|
||||||
}
|
|
||||||
|
|
||||||
#[derive(Debug, Deserialize)]
|
|
||||||
#[allow(dead_code)]
|
|
||||||
pub struct Choice {
|
|
||||||
pub message: Message,
|
|
||||||
pub finish_reason: Option<String>,
|
|
||||||
}
|
|
||||||
|
|
||||||
#[derive(Debug, Clone, Deserialize)]
|
#[derive(Debug, Clone, Deserialize)]
|
||||||
#[allow(dead_code)]
|
#[allow(dead_code)]
|
||||||
pub struct Usage {
|
pub struct Usage {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue