🐛 fix(g4f/client/stubs.py): correct typo in object field

Fix a typo in the `object` field from "chat.completion.cunk" to "chat.completion.chunk".
This commit is contained in:
Andrew Clark 2025-04-09 19:06:19 -04:00
parent fa36dccf16
commit f7779304f0

View file

@ -84,7 +84,7 @@ class ChatCompletionChunk(BaseModel):
):
return super().model_construct(
id=f"chatcmpl-{completion_id}" if completion_id else None,
object="chat.completion.cunk",
object="chat.completion.chunk",
created=created,
model=None,
provider=None,