Closed AurganicSubstance closed 8 months ago
solved、已解决:在config json里面加入: "model": "qwen", "qwen_access_key_id": "xxxxxx", "qwen_access_key_secret": "xxxxxxxx", "qwen_agent_key": "xxxxxx", "qwen_app_id": "xxxxxx", "qwen_node_id": "", #这是空值, 感谢群里的“培根煎蛋”提供的答案
File "D:\Python\Python38\lib\site-packages\alibabacloud_tea_openapi\client.py", line 1266, in do_request raise TeaException({ Tea.exceptions.TeaException: Error: MissingAccessKeyId code: 400, AccessKeyId is mandatory for this action. request id: AEB25640-ADC9-571D-93DA-7CBFBDB023AB Response: {'RequestId': 'AEB25640-ADC9-571D-93DA-7CBFBDB023AB', 'Message': 'AccessKeyId is mandatory for this action.', 'Recommend': 'https://api.aliyun.com/troubleshoot?q=MissingAccessKeyId&product=bailian&requestId=AEB25640-ADC9-571D-93DA-7CBFBDB023AB', 'HostId': 'bailian.cn-beijing.aliyuncs.com', 'Code': 'MissingAccessKeyId', 'statusCode': 400}
DashScope灵积模型服务,不是用的这个模型?
File "D:\Python\Python38\lib\site-packages\alibabacloud_tea_openapi\client.py", line 1266, in do_request raise TeaException({ Tea.exceptions.TeaException: Error: MissingAccessKeyId code: 400, AccessKeyId is mandatory for this action. request id: AEB25640-ADC9-571D-93DA-7CBFBDB023AB Response: {'RequestId': 'AEB25640-ADC9-571D-93DA-7CBFBDB023AB', 'Message': 'AccessKeyId is mandatory for this action.', 'Recommend': 'https://api.aliyun.com/troubleshoot?q=MissingAccessKeyId&product=bailian&requestId=AEB25640-ADC9-571D-93DA-7CBFBDB023AB', 'HostId': 'bailian.cn-beijing.aliyuncs.com', 'Code': 'MissingAccessKeyId', 'statusCode': 400}
DashScope灵积模型服务,不是用的这个模型?
@Simon-leomon 解决了吗? 同样的报错,确定 ak sk 都配置正确了,但是仍然有这个问题
灵积模型与百炼模型是不同的平台,应用方式有很大的不同。 ------------------ 原始邮件 ------------------ 发件人: "zhayujie/chatgpt-on-wechat" @.>; 发送时间: 2024年1月22日(星期一) 下午3:24 @.>; @.**@.>; 主题: Re: [zhayujie/chatgpt-on-wechat] 通义千问文档配置方式不明。(1.5.4) (Issue #1673)
File "D:\Python\Python38\lib\site-packages\alibabacloud_tea_openapi\client.py", line 1266, in do_request raise TeaException({ Tea.exceptions.TeaException: Error: MissingAccessKeyId code: 400, AccessKeyId is mandatory for this action. request id: AEB25640-ADC9-571D-93DA-7CBFBDB023AB Response: {'RequestId': 'AEB25640-ADC9-571D-93DA-7CBFBDB023AB', 'Message': 'AccessKeyId is mandatory for this action.', 'Recommend': 'https://api.aliyun.com/troubleshoot?q=MissingAccessKeyId&product=bailian&requestId=AEB25640-ADC9-571D-93DA-7CBFBDB023AB', 'HostId': 'bailian.cn-beijing.aliyuncs.com', 'Code': 'MissingAccessKeyId', 'statusCode': 400}
DashScope灵积模型服务,不是用的这个模型?
@Simon-leomon 解决了吗? 同样的报错,确定 ak sk 都配置正确了,但是仍然有这个问题
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
solved、已解决:在config json里面加入: "model": "qwen", "qwen_access_key_id": "xxxxxx", "qwen_access_key_secret": "xxxxxxxx", "qwen_agent_key": "xxxxxx", "qwen_app_id": "xxxxxx", "qwen_node_id": "", #这是空值, 感谢群里的“培根煎蛋”提供的答案
请问您添加了千问的信息之后,原来的 "open_ai_api_key"、"open_ai_api_base"、 "proxy" 、 "model": "gpt-3.5-turbo", 等项目要不要删掉?
灵积模型与百炼模型是不同的平台,应用方式有很大的不同。 ------------------ 原始邮件 ------------------ 发件人: "zhayujie/chatgpt-on-wechat" @.>; 发送时间: 2024年1月22日(星期一) 下午3:24 @.>; @.**@.>; 主题: Re: [zhayujie/chatgpt-on-wechat] 通义千问文档配置方式不明。(1.5.4) (Issue #1673) File "D:\Python\Python38\lib\site-packages\alibabacloud_tea_openapi\client.py", line 1266, in do_request raise TeaException({ Tea.exceptions.TeaException: Error: MissingAccessKeyId code: 400, AccessKeyId is mandatory for this action. request id: AEB25640-ADC9-571D-93DA-7CBFBDB023AB Response: {'RequestId': 'AEB25640-ADC9-571D-93DA-7CBFBDB023AB', 'Message': 'AccessKeyId is mandatory for this action.', 'Recommend': 'https://api.aliyun.com/troubleshoot?q=MissingAccessKeyId&product=bailian&requestId=AEB25640-ADC9-571D-93DA-7CBFBDB023AB', 'HostId': 'bailian.cn-beijing.aliyuncs.com', 'Code': 'MissingAccessKeyId', 'statusCode': 400} DashScope灵积模型服务,不是用的这个模型? @Simon-leomon 解决了吗? 同样的报错,确定 ak sk 都配置正确了,但是仍然有这个问题 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
百炼模型的功能更丰富,可以实现更多功用满足更丰富的应用场景。
前置确认
⚠️ 搜索issues中是否已存在类似问题
操作系统类型?
Windows
运行的python版本是?
python 3.10
使用的chatgpt-on-wechat版本是?
Latest Release
运行的
channel
类型是?wx(个人微信, itchat)
复现步骤 🕹
我在config-template.json里将model改为tongyi,apikey我放入了open_ai_api_key里面,结果说open_ai 查无此key(没有链接tongyi)
问题描述 😯
修改config后,程序还是把我tongyi的key倒给了config,但是在更新文件好像没说新的tongyi的配置key的字段应该是什么
终端日志 📒