Browse Source

fix: qwen chat_template_kwargs

Seefs 3 weeks ago
parent
commit
c07347f24f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      dto/openai_request.go

+ 1 - 0
dto/openai_request.go

@@ -83,6 +83,7 @@ type GeneralOpenAIRequest struct {
 	// Ali Qwen Params
 	VlHighResolutionImages json.RawMessage `json:"vl_high_resolution_images,omitempty"`
 	EnableThinking         any             `json:"enable_thinking,omitempty"`
+	ChatTemplateKwargs     json.RawMessage `json:"chat_template_kwargs,omitempty"`
 	// ollama Params
 	Think json.RawMessage `json:"think,omitempty"`
 	// baidu v2