[Doc] add chat_template_kwagrs and update params docs (#3103)

* add chat_template_kwagrs and update params docs

* add chat_template_kwagrs and update params docs

* update enable_thinking

* pre-commit

* update test case

---------

Co-authored-by: Jiang-Jia-Jun <163579578+Jiang-Jia-Jun@users.noreply.github.com>
This commit is contained in:
LiqinruiG
2025-07-31 19:44:06 +08:00
committed by GitHub
parent 22cab724e8
commit 25005fee30
11 changed files with 648 additions and 105 deletions

View File

@@ -43,7 +43,7 @@ curl -X POST "http://0.0.0.0:8192/v1/chat/completions" \
{"type": "text", "text": "Which era does the cultural relic in the picture belong to"}
]}
],
"enable_thinking": true,
"chat_template_kwargs":{"enable_thinking": true},
"reasoning_max_tokens": 1024
}'
```
@@ -70,7 +70,7 @@ chat_response = client.chat.completions.create(
model="vl",
stream=True,
extra_body={
"enable_thinking": True,
"chat_template_kwargs":{"enable_thinking": True},
"reasoning_max_tokens": 1024
}
)