mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-04-19 11:08:37 +00:00
Merge pull request #2359 from seefs001/fix/qwen-chat-args
fix: qwen chat_template_kwargs
This commit is contained in:
@@ -83,6 +83,7 @@ type GeneralOpenAIRequest struct {
|
|||||||
// Ali Qwen Params
|
// Ali Qwen Params
|
||||||
VlHighResolutionImages json.RawMessage `json:"vl_high_resolution_images,omitempty"`
|
VlHighResolutionImages json.RawMessage `json:"vl_high_resolution_images,omitempty"`
|
||||||
EnableThinking any `json:"enable_thinking,omitempty"`
|
EnableThinking any `json:"enable_thinking,omitempty"`
|
||||||
|
ChatTemplateKwargs json.RawMessage `json:"chat_template_kwargs,omitempty"`
|
||||||
// ollama Params
|
// ollama Params
|
||||||
Think json.RawMessage `json:"think,omitempty"`
|
Think json.RawMessage `json:"think,omitempty"`
|
||||||
// baidu v2
|
// baidu v2
|
||||||
|
|||||||
Reference in New Issue
Block a user