fix: fix response type of ollama (#1850)

fix response type of ollama

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
Michele Dolfi 2025-06-25 04:33:09 -05:00 committed by GitHub
parent 4002de1f92
commit 41e8cae26b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -301,7 +301,7 @@ class OpenAiChatMessage(BaseModel):
class OpenAiResponseChoice(BaseModel):
index: int
message: OpenAiChatMessage
finish_reason: str
finish_reason: Optional[str]
class OpenAiResponseUsage(BaseModel):