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

DeepSeek integration in GPT menu #1140

Open
sigurd4 opened this issue Feb 28, 2025 · 1 comment
Open

DeepSeek integration in GPT menu #1140

sigurd4 opened this issue Feb 28, 2025 · 1 comment
Labels
FEATURE Feature advice/request

Comments

@sigurd4
Copy link

sigurd4 commented Feb 28, 2025

What would you like to be added?

Adding DeepSeek-V3 and DeepSeek-R1 to the GPT section of the sidebar.

How will it help?

DeepSeek-V3 and DeepSeek-R1 are a pretty good LLMs.

Extra info

DeepSeek's API should be perfectly compatible with other GPT API's.

I tried to add this myself by adding the following under sidebar/ai/extraGptModels:

'deepseek-v3': {
    'name': 'DeepSeek-V3',
    'logo_name': 'ai-deepseek-symbolic',
    'description': 'DeepSeek-V3, a strong Mixture-of-Experts (MoE) language model.',
    'base_url': 'https://api.deepseek.com/v1/chat/completions',
    'key_get_url': 'https://platform.deepseek.com/api_keys',
    'key_file': 'deepseek_key.txt',
    'model': 'deepseek-chat',
},
'deepseek-r1': {
    'name': 'DeepSeek-R1',
    'logo_name': 'ai-deepseek-symbolic',
    'description': 'DeepSeek-R1, DeepSeekAI\'s first-generation reasoning model.',
    'base_url': 'https://api.deepseek.com/v1/chat/completions',
    'key_get_url': 'https://platform.deepseek.com/api_keys',
    'key_file': 'deepseek_key.txt',
    'model': 'deepseek-reasoner',
},

Had to edit the default user_options.js that gets overwritten with each update, since it didn't work if i did it in the actual user-defined user_options.js.

But this results in an error when prompting:

Image

I'm not sure if this is a client-side error, but if i call the deepseek API normally with curl that works fine. Any help would be appreciated, as well as maybe adding this to the dotfile default options would probably be nice.

@sigurd4 sigurd4 added the FEATURE Feature advice/request label Feb 28, 2025
@sigurd4
Copy link
Author

sigurd4 commented Feb 28, 2025

As for the icon file, i think this one works nicely: https://api-docs.deepseek.com/img/favicon.svg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FEATURE Feature advice/request
Projects
None yet
Development

No branches or pull requests

1 participant