Commit 8f6961c6 by Seefs Committed by GitHub

feat: vllm thinking_token_budget (#7027)

parent 8c25eee7
...@@ -106,6 +106,8 @@ type GeneralOpenAIRequest struct { ...@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment