XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/gpt4free

Update __init__.py

e144d119
H Lohaus <hlohaus@users.noreply.github.com>
提交于

代码差异

1 个文件 +2 -1
Modified g4f/Provider/glm/__init__.py +2 -1
@@ -394,7 +394,8 @@ class GLM(AsyncGeneratorProvider, ProviderModelMixin, AuthFileMixin):
394 394 pass # Best effort — continue with cached values
395 395
396 396 # 2. Create chat session (session.ts: getOrCreateChatSession)
397 conversation.chat_id = await cls._get_or_create_chat_session(session, model)
397 if conversation.chat_id is None:
398 conversation.chat_id = await cls._get_or_create_chat_session(session, model)
398 399
399 400 yield conversation
400 401