Grace/qwen3 thinking (#12647)

* changing initial status to take into consideration prefill

* Add seperate strings for content and thinking builder

* thinking tests

* remove white space from string before closing think tag
This commit is contained in:
Grace
2025-10-16 15:29:41 -07:00
committed by GitHub
parent 1813ff85a0
commit e2a0b24435
4 changed files with 231 additions and 15 deletions

View File

@@ -48,6 +48,9 @@ func rendererForName(name string) Renderer {
case "qwen3-vl-instruct":
renderer := &Qwen3VLRenderer{false}
return renderer
case "qwen3-vl-thinking":
renderer := &Qwen3VLRenderer{true}
return renderer
default:
return nil
}