如何在 ollama run qwen3 中关闭 think 模式
在使用 ollama run qwen3 时,默认启用了 think 模式。如果你希望关闭这一模式,不同版本的 Ollama 有不同的设置方式。
旧版本(如 0.6.6)
在旧版本中,可以在输入提示后添加 /no_think
来关闭该模式:
hi /no_think
新版本(如 0.9.2)
在新版本中,使用 /set 命令进行模式切换:
/set nothink
设置完成后,接下来的提示将不再使用 think 模式。
启用 think
模式:
/set think
通过 API
无论是新版本还是旧版本, 都是在提示语后加 /no_think
.