binary-husky / binary-husky/gpt_academic
[Feature]: DeepSeek官网API如何设置?
- Dominant language
- Python
- Stars
- 71.3k
- Forks
- 8.3k
- PR merge metrics
- No merged PRs in 30d
Description
### Class | 类型
大语言模型
### Feature Request | 功能请求
DeepSeek使用了openAI兼容的API,我在 config 中需改重定向,改为:
API_URL_REDIRECT = {"https://api.openai.com/v1/chat/completions": "https://api.deepseek.com/chat/completions"}
但是不起作用。不知道具体如何配置?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the configuration entry point for API_URL_REDIRECT and read how the existing OpenAI endpoint mapping is parsed. Check the project’s configuration documentation or tests for supported API providers and redirection behavior. Done means a documented, working configuration path for DeepSeek’s OpenAI-compatible API, with coverage for the reported mapping if tests exist.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100