binary-husky / binary-husky/gpt_academic
[Bug]: Claude-3-5Sonnet
- Dominant language
- Python
- Stars
- 71.3k
- Forks
- 8.3k
- PR merge metrics
- No merged PRs in 30d
Description
### Installation Method | 安装方法与平台
Pip Install (I used latest requirements.txt)
### Version | 版本
Latest | 最新版
### OS | 操作系统
Linux
### Describe the bug | 简述
Traceback (most recent call last):
File "./crazy_functions/crazy_utils.py", line 95, in _req_gpt
result = predict_no_ui_long_connection(
File "./request_llms/bridge_all.py", line 1118, in predict_no_ui_long_connection
method = model_info[model]["fn_without_ui"]
KeyError: 'claude-3-5-sonnet-20240620'
### Screen Shot | 有帮助的截图
Traceback (most recent call last):
File "./crazy_functions/crazy_utils.py", line 95, in _req_gpt
result = predict_no_ui_long_connection(
File "./request_llms/bridge_all.py", line 1118, in predict_no_ui_long_connection
method = model_info[model]["fn_without_ui"]
KeyError: 'claude-3-5-sonnet-20240620'
### Terminal Traceback & Material to Help Reproduce Bugs | 终端traceback(如有) + 帮助我们复现的测试材料样本(如有)
_No response_
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at request_llms/bridge_all.py line 1118 and trace how the model_info entry for claude-3-5-sonnet-20240620 is selected. Review the call from crazy_functions/crazy_utils.py line 95 and reproduce the reported traceback on Linux. Done means the Claude model no longer triggers this KeyError when the request is made.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- ai
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100