XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 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
Andrew Clark <andrewclarkdev@gmail.com>
提交于

代码差异

1 个文件 +1 -1
Modified g4f/client/stubs.py +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,