mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-06 02:30:41 -08:00
🐛 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:
parent
fa36dccf16
commit
f7779304f0
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue