mirror of
https://github.com/deepseek-ai/DeepSeek-LLM.git
synced 2026-11-05 00:57:25 +00:00
[GH-ISSUE #49] 一个账户创建了五十个api,但一个api没问题,但多了会报错 处理时发生未知错误: Connection error #33
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/DeepSeek-LLM#33
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @wanglu2014 on GitHub (Oct 30, 2024).
Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-LLM/issues/49
按说https://api-docs.deepseek.com/quick_start/rate_limit deepseek没有限速
import os
import csv
from openai import OpenAI
import re # 用于自然排序
from concurrent.futures import ThreadPoolExecutor, as_completed
import time
import shutil
chat_completion = client.chat.completions.create(
messages=[
{
"role": "user",
"content": f"{prompt}\n{input_text}",
}
],
model="deepseek-chat",
) 为什么报错?