BUG: Autodetect title does not handle models with `<think>` like qwen3
Before submitting your bug report
- [x] I believe this is a bug. I'll try to join the Continue Discord for questions
- [x] I'm not able to find an open issue that reports the same bug
- [x] I've seen the troubleshooting guide on the Continue Docs
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
- Use a think-based model like qwen3.
- Start a chat.
- Check the history and see the unhelpful title.
Log output
@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
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>/, "");
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.
The issue is still occurring. Commenting to avoid it being marked stale.
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?
My environment:
OS: Linux
VSCode: 1.104.1
Continue Version: 1.2.4
Model: qwen3-8b
:tada: This issue has been resolved in version 1.29.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
:tada: This issue has been resolved in version 1.26.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
:tada: This issue has been resolved in version 1.3.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
:tada: This issue has been resolved in version 1.5.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket: