Skip to content

strip <think> tags from models like qwen and deepseek #1324

Closed

Description

@rekram1-node

Currently, at least in title generation we should strip out <think> content so that titles don't appear so terribly haha:

https://opencode.ai/s/kzRz5TX8

Depending on the qwen model this can still happen under some circumstances even if we strip out reasoning blocks, until models.dev is fixed, opened pr here: anomalyco/models.dev#76

Activity

  1. self-assigned this
    on Jul 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions