feat: return conversation id

This commit is contained in:
2026-05-11 19:04:14 +02:00
parent b5ef7e4881
commit c976db7063
3 changed files with 13 additions and 7 deletions
+2
View File
@@ -155,6 +155,8 @@ pub struct ChatCompletionResponse {
pub model: String,
pub choices: Vec<ChatChoice>,
pub usage: Option<Usage>, // optional (Ollama may not always provide)
pub conversation_id: Option<Uuid>,
}
#[derive(Debug, Serialize, Deserialize, ToSchema)]