返回提交历史
Modified
g4f/client/stubs.py
+1
-1
XFEstudio/gpt4free
🐛 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".
f7779304
代码差异
1 个文件
+1
-1
@@ -84,7 +84,7 @@ class ChatCompletionChunk(BaseModel):
84
84
):
85
85
return super().model_construct(
86
86
id=f"chatcmpl-{completion_id}" if completion_id else None,
87
object="chat.completion.cunk",
87
object="chat.completion.chunk",
88
88
created=created,
89
89
model=None,
90
90
provider=None,