We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug description 设置如下 llm: api_type: qianfan access_key: '' secret_key: '' model: 'ERNIE-Speed'
运行DataInterpreter的简单例子报错: metagpt\lib\site-packages\qianfan\resources\requestor\openapi_requestor.py", line 232, in _check_error raise errors.APIError(error_code, err_msg, req_id) qianfan.errors.APIError: api return error, req_id: code: 14, msg: IAM Certification failed
Bug solved method
Environment information
Screenshots or logs
The text was updated successfully, but these errors were encountered:
请检查一下是否有对应模型的权限(百度千帆的大模型都需要先授权才能使用) 参考:https://cloud.baidu.com/doc/WENXINWORKSHOP/s/yloieb01t
当然,如果access_key或secret_key不正确,也会出现类似错误
Sorry, something went wrong.
感谢你的意见。是我把access_key和secret_key输成了应用里面的API Key 和Secret Key,导致了这个错误。
No branches or pull requests
Bug description
设置如下
llm:
api_type: qianfan
access_key: ''
secret_key: ''
model: 'ERNIE-Speed'
运行DataInterpreter的简单例子报错:
metagpt\lib\site-packages\qianfan\resources\requestor\openapi_requestor.py", line 232, in _check_error
raise errors.APIError(error_code, err_msg, req_id)
qianfan.errors.APIError: api return error, req_id: code: 14, msg: IAM Certification failed
Bug solved method
Environment information
Screenshots or logs
The text was updated successfully, but these errors were encountered: