binary-husky / binary-husky/gpt_academic

[Feature]: 如何限制请求的频率,例如每秒1次?或者对超出频率的请求专门处理,等待一段时间重新请求?

Open
#1,878 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
71.4k
Forks
8.3k
PR merge metrics
No merged PRs in 30d

Description

Class | 类型

程序主体

Feature Request | 功能请求

如何限制请求的频率,例如每秒1次?或者对超出频率的请求专门处理,等待一段时间重新请求?
有些API会限制请求的频率,在ArXiv论文翻译时,如果返回了“请求过于频繁,稍后再试”之类的返回,当前工具并不会重新请求,而是直接把错误信息写入文档中。
image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is named. Start by locating the arXiv translation request path and the handling for rate-limit errors; done means excess requests are controlled and temporary rate-limit responses are retried after waiting instead of written directly into the document.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.