Disable thinking if reasoning_effort is none.

Open
#1,028 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
62/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
go
Domain
ai, api

Research direction

Start by tracing the OpenAI-compatible request handling and the existing mapping for chat_template_kwargs or reasoning_effort. Confirm how reasoning_effort: "none" is represented for supported models, then verify that it disables thinking without requiring provider-specific parameters while other effort values remain unchanged.

Written by the indexing model from the issue text.

Description

To maintain the open AI compatibility of your API, would it be possible to disable the reasoning of the LLM if reasoning_effort: "none" is specified in the request?

I know the standard way to disable the thinking for models such as Gemma 4 and Qwen 3 would be { ..., chat_template_kwargs: {"enable_thinking": false} }, but I don't want to have to write VLLM/LLAMA specefic parameters in OpenAI request.

Dominant language
Go
Stars
665
Forks
161
Avg merge
4h 25m
Merged PRs (30d)
18

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from docker/model-runner

All issues in docker/model-runner

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.