Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support DeepSeek-R1 search engine #424

Open
wwxiaoqi opened this issue Jan 28, 2025 · 2 comments · May be fixed by #425
Open

Support DeepSeek-R1 search engine #424

wwxiaoqi opened this issue Jan 28, 2025 · 2 comments · May be fixed by #425
Labels
enhancement New feature or request

Comments

@wwxiaoqi
Copy link

Is your feature request related to a problem? Please describe.
I have reviewed the configurations related to DeepSeek. The relevant descriptions in #312 are too outdated. For example, the deepseek-code model has been replaced by deepseek-reasone.

apis:
  # DeepSeek
  # https://api-docs.deepseek.com/zh-cn/
  deepseek:
    base-url: https://api.deepseek.com/
    api-key:
    api-key-env: DEEPSEEK_API_KEY
    models:
      deepseek-chat:
        aliases: ["chat"]
        max-input-chars: 384000
      deepseek-reasoner:
        aliases: ["r1"]
        max-input-chars: 384000

Describe the solution you'd like
Unfortunately, deepseek-reasoner does not comply with OpenAI's API specifications, only deepseek-chat does. Therefore, a completely new custom provider is needed to handle them separately. It must be integrated according to the description in the documentation.
deepseek docs API

Describe alternatives you've considered
At present, my only alternative is to use it through a browser.

@wwxiaoqi wwxiaoqi added the enhancement New feature or request label Jan 28, 2025
caarlos0 added a commit that referenced this issue Jan 28, 2025
@caarlos0 caarlos0 linked a pull request Jan 28, 2025 that will close this issue
@caarlos0
Copy link
Member

I cannot confirm if that works, deepseek api platform is 503 here for some reason 🤔

I think it is probably correct though.

That said: #425

@wwxiaoqi
Copy link
Author

Yes, because the DeepSeek API has been under unexplained DDoS attacks since the 28th, the API is currently in a completely paralyzed state...

If it becomes usable, I will update this comment and verify the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants