GaiZhenbiao / ChuanhuChatGPT

GUI for ChatGPT API and many LLMs. Supports agents, file-based QA, GPT finetuning and query with web search. All with a neat UI.
https://huggingface.co/spaces/JohnSmith9982/ChuanhuChatGPT
GNU General Public License v3.0
15.07k stars 2.28k forks source link

fix: incorrect argument structure passing to super().__init__() in Groq_Client.__init__() #1122

Closed vc12345679 closed 2 months ago

vc12345679 commented 2 months ago

When calling super().init() in Groq_Client.init(), based on the init() function definition in BaseLLMModel, the last argument should be config={"api_key":api_key}, instead of api_key=api_key

作者自述

描述

修正 models/Groq.py 文件里 Groq_Client 类 init 函数中 super().init() 参数格式错误

相关问题

1121

补充信息

修改后与其它模型参数传递格式一致。