Pass format

This commit is contained in:
Adria Navarro 2025-04-16 11:01:05 +02:00
parent 7411669d33
commit 4ba465cd97
2 changed files with 4 additions and 1 deletions

@ -1 +1 @@
Subproject commit 8bcb90edac3d44c48eaecf526cedc82418035438
Subproject commit 6c88253245b77bf589a7027b72032e9aa942fc4c

View File

@ -5,8 +5,11 @@ export interface Message {
content: string
}
export type ResponseFormat = "text" | "json"
export interface ChatCompletionRequest {
messages: Message[]
format?: ResponseFormat
}
export interface ChatCompletionResponse {