| 176 | |
| 177 | |
| 178 | class CompletionResponse(BaseModel): |
| 179 | id: str = Field(default_factory=lambda: f"cmpl-{shortuuid.random()}") |
| 180 | object: str = "text_completion" |
| 181 | created: int = Field(default_factory=lambda: int(time.time())) |
| 182 | model: str |
| 183 | choices: List[CompletionResponseChoice] |
| 184 | usage: UsageInfo |
| 185 | |
| 186 | |
| 187 | class CompletionResponseStreamChoice(BaseModel): |
no outgoing calls
no test coverage detected
searching dependent graphs…