Skip to content

Seed-oss-36b reasoning format not supported #3703

@whoisjeremylam

Description

@whoisjeremylam

Description

What would be the best way to support Seed's reasoning tags?

Image

Snippet from my config.json (provider is a locally vllm server)

        "Seed-OSS-36B-Instruct": {
          "name": "Seed-OSS-36B-Instruct",
          "context_window": 262144,
          "reasoning": true,
          "tool_call": true,
          "limit": {
            "context": 262144,
            "output": 81920
          }
        }

From the official chat template (https://huggingface.co/ByteDance-Seed/Seed-OSS-36B-Instruct/blob/main/chat_template.jinja):

{%- set think_begin_token      = '<seed:think>'             -%}
{%- set think_end_token        = '</seed:think>'            -%}

OpenCode version

0.15.31

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

Ubuntu

Terminal

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions