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

@@ -45,6 +45,9 @@ func ParserForName(name string) Parser {
case "qwen3-vl-instruct":
parser := &Qwen3VLParser{hasThinkingSupport: false}
return parser
case "qwen3-vl-thinking":
parser := &Qwen3VLParser{hasThinkingSupport: true}
return parser
case "passthrough":
return &PassthroughParser{}
case "harmony":