feat: complete docs
This commit is contained in:
+6
-6
@@ -129,12 +129,12 @@ pub struct Usage {
|
||||
pub total_tokens: u32,
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize, ToSchema)]
|
||||
pub struct CompletionChunk {
|
||||
pub id: String,
|
||||
pub object: String,
|
||||
pub choices: Vec<Choice>,
|
||||
}
|
||||
// #[derive(Debug, Serialize, Deserialize, ToSchema)]
|
||||
// pub struct CompletionChunk {
|
||||
// pub id: String,
|
||||
// pub object: String,
|
||||
// pub choices: Vec<Choice>,
|
||||
// }
|
||||
|
||||
#[derive(Debug, Deserialize, Serialize, ToSchema)]
|
||||
pub struct ApiChatRequest {
|
||||
|
||||
Reference in New Issue
Block a user