mirror of
				https://github.com/linux-do/new-api.git
				synced 2025-11-04 21:33:41 +08:00 
			
		
		
		
	feat: support embedding encoding_format param
This commit is contained in:
		@@ -26,6 +26,7 @@ type GeneralOpenAIRequest struct {
 | 
			
		||||
	FrequencyPenalty    float64        `json:"frequency_penalty,omitempty"`
 | 
			
		||||
	PresencePenalty     float64        `json:"presence_penalty,omitempty"`
 | 
			
		||||
	ResponseFormat      any            `json:"response_format,omitempty"`
 | 
			
		||||
	EncodingFormat      any            `json:"encoding_format,omitempty"`
 | 
			
		||||
	Seed                float64        `json:"seed,omitempty"`
 | 
			
		||||
	Tools               []ToolCall     `json:"tools,omitempty"`
 | 
			
		||||
	ToolChoice          any            `json:"tool_choice,omitempty"`
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user