mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-05-03 16:44:36 +00:00
✨ feat(dto): add VlHighResolutionImages parameter to GeneralOpenAIRequest
This commit is contained in:
@@ -57,6 +57,8 @@ type GeneralOpenAIRequest struct {
|
|||||||
WebSearchOptions *WebSearchOptions `json:"web_search_options,omitempty"`
|
WebSearchOptions *WebSearchOptions `json:"web_search_options,omitempty"`
|
||||||
// OpenRouter Params
|
// OpenRouter Params
|
||||||
Reasoning json.RawMessage `json:"reasoning,omitempty"`
|
Reasoning json.RawMessage `json:"reasoning,omitempty"`
|
||||||
|
// Ali Qwen Params
|
||||||
|
VlHighResolutionImages json.RawMessage `json:"vl_high_resolution_images,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (r *GeneralOpenAIRequest) ToMap() map[string]any {
|
func (r *GeneralOpenAIRequest) ToMap() map[string]any {
|
||||||
|
|||||||
Reference in New Issue
Block a user