-
Notifications
You must be signed in to change notification settings - Fork 44
Add Deepseek API support #369
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
Comments
Deepseek API Support TriageThank you for suggesting Deepseek API support! This feature aligns well with MyCoder's goal of providing flexible AI provider options. Implementation ApproachBased on the existing provider implementation pattern in MyCoder, adding Deepseek support would involve:
Additional Information NeededTo proceed with implementation, it would be helpful to have more details about:
Next StepsI've added the The lower API cost you mentioned is definitely a compelling reason to add support for this provider. If you have any specific cost comparisons or other benefits to highlight, please share them. |
@drpetersonfernandes The DeepSeek documentation says this: "The DeepSeek API uses an API format compatible with OpenAI. By modifying the configuration, you can use the OpenAI SDK or softwares compatible with the OpenAI API to access the DeepSeek API." The current implementation of the OpenaI provider in mycoder supports overriding the baseUrl, which means you can point it at DeepSeek's API: https://docs.mycoder.ai/docs/providers/openai#using-openai-compatible-providers Just set in mycoder.config.js: {
...
provider: 'openai',
model: 'deepseek-chat'
baseUrl: "https://api.deepseek.com",
....,
} And set OPENAI_API_KEY to be your deep seek key. Basically I think it would work now without any modifications. |
Add Deepseek API support
API cost is cheaper
The text was updated successfully, but these errors were encountered: