feat: vllm thinking_token_budget (#7027)

This commit is contained in:
Seefs
2026-08-26 21:06:22 +08:00
committed by GitHub
parent 8c25eee71b
commit 8f6961c675
+2
View File
@@ -106,6 +106,8 @@ type GeneralOpenAIRequest struct {
SearchMode json.RawMessage `json:"search_mode,omitempty"` SearchMode json.RawMessage `json:"search_mode,omitempty"`
// Minimax // Minimax
ReasoningSplit json.RawMessage `json:"reasoning_split,omitempty"` ReasoningSplit json.RawMessage `json:"reasoning_split,omitempty"`
// vLLM
ThinkingTokenBudget json.RawMessage `json:"thinking_token_budget,omitempty"`
} }
func (r GeneralOpenAIRequest) MarshalJSON() ([]byte, error) { func (r GeneralOpenAIRequest) MarshalJSON() ([]byte, error) {