| 1 | import { ChatCompletion } from "openai/resources/index"; |
| 2 | |
| 3 | export const EMPTY_CHAT_COMPLETION: ChatCompletion = { |
| 4 | choices: [ |
| 5 | { |
| 6 | finish_reason: "stop", |
| 7 | index: 0, |
| 8 | logprobs: null, |
| 9 | message: { |
| 10 | content: null, |
| 11 | role: "assistant", |
| 12 | refusal: null, |
| 13 | }, |
| 14 | }, |
| 15 | ], |
| 16 | usage: undefined, |
| 17 | created: Date.now(), |
| 18 | id: "", |
| 19 | model: "UNSPECIFIED", |
| 20 | object: "chat.completion", |
| 21 | }; |