binary-husky / binary-husky/gpt_academic

[Feature]: [Local Message] 异常

Open
#1,955 4 comments 0 reactions 0 assignees View on GitHub
Stale
Dominant language
Python
Stars
71.3k
Forks
8.3k
PR merge metrics
No merged PRs in 30d

Description

### Class | 类型

None

### Feature Request | 功能请求

Traceback (most recent call last):
File ".\request_llms\bridge_chatgpt.py", line 316, in predict
raise ValueError(f'无法读取以下数据,请检查配置。\n\n{chunk_decoded}')
ValueError: 无法读取以下数据,请检查配置。

"error": {

"error": { "message": "Request too large for gpt-4o in organization org-MRpRatBhlmE9RGVZ3o9bco6B on tokens per min (TPM): Limit 30000, Requested 31240. The input or output tokens must be reduced in order to run successfully. Visit https://platform.openai.com/account/rate-limits to learn more.", "type": "tokens", "param": null, "code": "rate_limit_exceeded" }}

Contributor guide

No contributing guide indexed for this repository

Research direction

Read request_llms/bridge_chatgpt.py around line 316 and inspect the reported traceback and oversized-request error payload. Clarify whether the requested change is handling or localizing this message; completion should be defined by an agreed behavior and a regression test for this response.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ai, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.