continue icon indicating copy to clipboard operation
continue copied to clipboard

BUG: Autodetect title does not handle models with `<think>` like qwen3

Open aarononeal opened this issue 8 months ago • 2 comments

Before submitting your bug report

Relevant environment info

- OS: macOS
- Continue version: pre-release
- IDE version: 1.100.1
- Model: qwen3:30b

Description

All titles in the chat history show up as: <think>Okay, the user wants ...

I suppose the auto title code hasn't been updated to handle models that begin with a <think> block? So either split out or append /no_think to the prompt.

To reproduce

  1. Use a think-based model like qwen3.
  2. Start a chat.
  3. Check the history and see the unhelpful title.

Log output


aarononeal avatar May 15 '25 19:05 aarononeal

@aarononeal Thanks for sharing this. I think it would make for a great good-first-issue, so marked as that.

The change that would need to happen is in https://github.com/continuedev/continue/blob/1e49e616c72661cdb0c67d2774b813b53b50f703/core/util/chatDescriber.ts, where we generate the titles. Just need to parse out the thinking, or disable thinking through request options

sestinj avatar May 25 '25 21:05 sestinj

I've looked into this, but I don't have any time for dev setup. I hope this helps anyone who starts working on this.

ChatDescriber.prompt + message.replace(/^<think>.*?<\/think>/, "");

MattiJarvinen avatar Jun 13 '25 19:06 MattiJarvinen

This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.

github-actions[bot] avatar Sep 12 '25 02:09 github-actions[bot]

The issue is still occurring. Commenting to avoid it being marked stale.

rmarker avatar Sep 14 '25 10:09 rmarker

The issue is still occurring. Commenting to avoid it being marked stale.

I am using Qwen3-coder-480B. I am not seeing this error. Can you share environment information?

Akashbellary avatar Sep 22 '25 21:09 Akashbellary

My environment:

OS: Linux
VSCode: 1.104.1
Continue Version: 1.2.4
Model: qwen3-8b

rmarker avatar Sep 22 '25 23:09 rmarker

:tada: This issue has been resolved in version 1.29.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

sestinj avatar Oct 16 '25 07:10 sestinj

:tada: This issue has been resolved in version 1.26.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

sestinj avatar Oct 17 '25 16:10 sestinj

:tada: This issue has been resolved in version 1.3.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

sestinj avatar Oct 17 '25 18:10 sestinj

:tada: This issue has been resolved in version 1.5.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

sestinj avatar Oct 21 '25 22:10 sestinj