mirror of
				https://github.com/songquanpeng/one-api.git
				synced 2025-11-04 15:53:42 +08:00 
			
		
		
		
	chore: add omitempty for xunfei functions
This commit is contained in:
		@@ -28,7 +28,7 @@ type ChatRequest struct {
 | 
			
		||||
		} `json:"message"`
 | 
			
		||||
		Functions struct {
 | 
			
		||||
			Text []model.Function `json:"text,omitempty"`
 | 
			
		||||
		} `json:"functions"`
 | 
			
		||||
		} `json:"functions,omitempty"`
 | 
			
		||||
	} `json:"payload"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user