yihong0618 / xiaogpt

Play ChatGPT and other LLM with Xiaomi AI Speaker
MIT License
5.85k stars 815 forks source link

配置了千问,但系统仍使用默认的gpt #507

Open whyhad opened 1 month ago

whyhad commented 1 month ago

日志报错: 2024/5/14 20:47:25 Exception: Using GPT api needs openai API key, please google how to 但已经配置了使用千问:

1
yihong0618 commented 1 month ago

请问是用的新的配置格式 yaml么?

whyhad commented 1 month ago

是极空间的docker配置界面

yihong0618 commented 1 month ago

完这里问题,你可以用命令行试试

frostming commented 1 month ago

这个报错只存在这个分支 https://github.com/yihong0618/xiaogpt/blob/f274ec231ba9e8c3298eccdced522a7182703386/xiaogpt/config.py#L102-L106

说明你使用的是 chatgptapi,与你描述不符,请确认你的配置正确

是极空间的docker配置界面

不是很了解,这个支持给 xiaogpt 配置?

bugmaker2 commented 6 days ago

你这是在哪里查看的参数图片?我能够成功调用通义千问

yihong0618 commented 6 days ago

你这是在哪里查看的参数图片?我能够成功调用通义千问

阿里云里面有