Skip to content

support using deepseek models #154

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

Closed
wants to merge 1 commit into from
Closed

Conversation

mattguo
Copy link

@mattguo mattguo commented Mar 3, 2025

I'd like to use deepseek models (using the same OpenAI API protocol, much cheaper than gtp4 and much stronger than gpt3) together with this plugin.

My usage:`
in the plugin settings, set

  • openai api key to deepseek api key, which looks like: sk-123456....
  • endpoint to https://api.deepseek.com
  • Completion engine to deepseek-chat, or deepseek-reasoner
  • (Optional) clear up OpenAI Chat Prompt in settings
    Then it worked for me locally for features like summarizing text.

Before this change it couldn't work due to the HTTPS request send the prompt in body.prompt, rather than in the messages payload.

Btw, its API doc: https://api-docs.deepseek.com/

@mattguo
Copy link
Author

mattguo commented Mar 3, 2025

Oh, I just found #132 is better than this one. I will drop this pull request.

@mattguo mattguo closed this Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant