mirror of
				https://github.com/linux-do/new-api.git
				synced 2025-11-04 05:13:41 +08:00 
			
		
		
		
	feat: update model ratio
This commit is contained in:
		@@ -375,10 +375,7 @@ func GetCompletionRatio(name string) float64 {
 | 
			
		||||
		return 3
 | 
			
		||||
	}
 | 
			
		||||
	if strings.HasPrefix(name, "gemini-") {
 | 
			
		||||
		if strings.Contains(name, "flash") {
 | 
			
		||||
			return 4
 | 
			
		||||
		}
 | 
			
		||||
		return 3
 | 
			
		||||
		return 4
 | 
			
		||||
	}
 | 
			
		||||
	if strings.HasPrefix(name, "command") {
 | 
			
		||||
		switch name {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user