Skip to content

requests.exceptions.HTTPError: 429 Client Error: Too Many Requests for url: https://chat.deepseek.com/api/v0/chat/completions #2

Open
@sonytruelove

Description

@sonytruelove

After run:

You: me
AI: me
Traceback (most recent call last):
  File "/home/sdv/DeepSeek-API-Unofficial-v2-main/main.py", line 88, in <module>
    api_response_content = api.generate(user_message=user_query, model_type='deepseek_chat', verbose=True)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/sdv/DeepSeek-API-Unofficial-v2-main/main.py", line 61, in generate
    api_response.raise_for_status()
  File "/home/sdv/DeepSeek-API-Unofficial-v2-main/myvenv/lib/python3.11/site-packages/requests/models.py", line 1024, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 429 Client Error: Too Many Requests for url: https://chat.deepseek.com/api/v0/chat/completions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions