Skip to content
New issue

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]: qianfan官方接口在22日都更新了,现在连接都失败了 #1735

Open
zhoujianmin opened this issue Apr 23, 2024 · 1 comment
Labels

Comments

@zhoujianmin
Copy link

Installation Method | 安装方法与平台

Pip Install (I used latest requirements.txt)

Version | 版本

Latest | 最新版

OS | 操作系统

Windows

Describe the bug | 简述

Traceback (most recent call last):
File ".\request_llms\bridge_qianfan.py", line 110, in generate_from_baidu_qianfan
incoming = dec['result']
~~~^^^^^^^^^^
KeyError: 'result'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File ".\request_llms\bridge_qianfan.py", line 151, in predict
for response in generate_from_baidu_qianfan(inputs, llm_kwargs, history, system_prompt):
File ".\request_llms\bridge_qianfan.py", line 117, in generate_from_baidu_qianfan
raise RuntimeError(dec['error_msg'])
RuntimeError: Open api daily request limit reached

Screen Shot | 有帮助的截图

image

Terminal Traceback & Material to Help Reproduce Bugs | 终端traceback(如有) + 帮助我们复现的测试材料样本(如有)

No response

@wl223600
Copy link

提示

  • 最新版gpt学术优化无法复现此问题
  • 建议抓取最新版的源代码,根据提示重新安装依赖再试一次

测试平台与API

  • gpt academic 3.74(20240427抓取,最近数个小版本有更新但是没改版本号)
  • Debian 12
  • 文心一言4

截图

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants