| 86 | |
| 87 | |
| 88 | class ChatCompletionResponse(BaseModel): |
| 89 | id: str = Field(default_factory=lambda: f"chatcmpl-{shortuuid.random()}") |
| 90 | object: str = "chat.completion" |
| 91 | created: int = Field(default_factory=lambda: int(time.time())) |
| 92 | model: str |
| 93 | choices: List[ChatCompletionResponseChoice] |
| 94 | usage: UsageInfo |
| 95 | |
| 96 | |
| 97 | class DeltaMessage(BaseModel): |
no outgoing calls
no test coverage detected
searching dependent graphs…