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 <think> response part in ✨ Edit Code menu. #835

Closed
keriati opened this issue Jan 26, 2025 · 1 comment
Closed

Support DeepSeek R1 <think> response part in ✨ Edit Code menu. #835

keriati opened this issue Jan 26, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@keriati
Copy link

keriati commented Jan 26, 2025

Describe the need of your request

Right now, when I connect to a Custom: OpenAI Api, that serves DeepSeek R1 models (for example deepseek-r1-distill-qwen-32b), the response will start with the <think> block and this block will be inserted to the cursor before the actual code response is delivered when I use the ✨Edit Code menu.

Example:

Request:

Image

Result:

Image

Proposed solution

The CodeGPT UI should be able to ignore the part of the response (maybe display it somewhere else) and just take the real code response from the model.

Additional context

The code responses are pretty good from reasoning models, and as the Edit Code menu is very useful and easy to use so this feature seem essential to me.

@keriati keriati added the enhancement New feature or request label Jan 26, 2025
@carlrobertoh
Copy link
Owner

Deepseek R3 support for code editing and commit message generation will be available in the next release.

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

No branches or pull requests

2 participants