Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Conversation

@jhrozek
Copy link
Contributor

@jhrozek jhrozek commented Feb 7, 2025

continue version didn't work with DeepSeek because for some reason
they enclose the user message in a sort of an envelope.

To make the change a little future-proof, we use the envelope to detect
Continue as client and then in the cli command try to extract from the
envelope, but fall back to the generic plain regex.

Fixes: #981

`continue version` didn't work with DeepSeek because for some reason
they enclose the user message in a sort of an envelope.

To make the change a little future-proof, we use the envelope to detect
Continue as client and then in the cli command try to extract from the
envelope, but fall back to the generic plain regex.

Fixes: #981
"""
Continue sends a differently formatted message to the CLI if DeepSeek is used
"""
deepseek_match = re.search(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I saw this happening with other model (tinyllama:latest). I was testing muxing so in reality I was hitting an open AI model but that was what I had in my Continue config.

Anyways just mentioning it because the var name implies is specific to deepseek and it maybe a gradual release in general for Continue.

@jhrozek jhrozek merged commit ba2ca15 into main Feb 7, 2025
9 checks passed
@jhrozek jhrozek deleted the codegate-version-deepseek-continue branch February 7, 2025 10:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OpenRouter+DeepSeek doesn't extract codegate CLI tasks

3 participants