-
Notifications
You must be signed in to change notification settings - Fork 231
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
Code Completation and Custom OpenAI #759
Comments
I'm not sure if any of the OpenRouter models can be used for code completions, as they only provide a OpenAI compatible Chat Completions API. If you want to use DeepSeek Coder for code completions, you must configure the DeepSeek API explicitly and use the following configuration: https://api-docs.deepseek.com/guides/fim_completion |
It seems that the problem is that e.g. deepseeker does not support FIM in the OpenRouter version. |
I will post the same text here as I did on Reddit for others as well.
|
I will also answer you here as well as on reddit:
|
What happened?
I am using CodeGPT via Custom OpenAI with Openrouter.
I configured the template as suggestions I never get code but only sentences like this:
It looks like you're working on a Python function that interacts with an OPC-UA server and performs some operations
For code completion I am using deepseeker, with these settings:
Relevant log output or stack trace
No response
Steps to reproduce
No response
CodeGPT version
2.12.3
Operating System
Linux
The text was updated successfully, but these errors were encountered: