mirror of
				https://github.com/songquanpeng/one-api.git
				synced 2025-11-04 07:43:41 +08:00 
			
		
		
		
	fix: update model lists to include new and revised models across adaptors
This commit is contained in:
		@@ -19,6 +19,9 @@ var ModelsSupportSystemInstruction = []string{
 | 
			
		||||
	// "gemini-1.5-pro-experimental",
 | 
			
		||||
	"gemini-2.0-flash", "gemini-2.0-flash-exp",
 | 
			
		||||
	"gemini-2.0-flash-thinking-exp-01-21",
 | 
			
		||||
	"gemini-2.0-flash-lite",
 | 
			
		||||
	"gemini-2.0-flash-exp-image-generation",
 | 
			
		||||
	"gemini-2.0-pro-exp-02-05",
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// IsModelSupportSystemInstruction check if the model support system instruction.
 | 
			
		||||
 
 | 
			
		||||
@@ -1,27 +1,32 @@
 | 
			
		||||
package groq
 | 
			
		||||
 | 
			
		||||
// ModelList is a list of models that can be used with Groq.
 | 
			
		||||
//
 | 
			
		||||
// https://console.groq.com/docs/models
 | 
			
		||||
 | 
			
		||||
var ModelList = []string{
 | 
			
		||||
	// Regular Models
 | 
			
		||||
	"distil-whisper-large-v3-en",
 | 
			
		||||
	"gemma2-9b-it",
 | 
			
		||||
	"llama-3.1-70b-versatile",
 | 
			
		||||
	"llama-3.3-70b-versatile",
 | 
			
		||||
	"llama-3.1-8b-instant",
 | 
			
		||||
	"llama-3.2-11b-text-preview",
 | 
			
		||||
	"llama-3.2-11b-vision-preview",
 | 
			
		||||
	"llama-3.2-1b-preview",
 | 
			
		||||
	"llama-3.2-3b-preview",
 | 
			
		||||
	"llama-3.2-90b-text-preview",
 | 
			
		||||
	"llama-3.2-90b-vision-preview",
 | 
			
		||||
	"llama-guard-3-8b",
 | 
			
		||||
	"llama3-70b-8192",
 | 
			
		||||
	"llama3-8b-8192",
 | 
			
		||||
	"llama3-groq-70b-8192-tool-use-preview",
 | 
			
		||||
	"llama3-groq-8b-8192-tool-use-preview",
 | 
			
		||||
	"llava-v1.5-7b-4096-preview",
 | 
			
		||||
	"mixtral-8x7b-32768",
 | 
			
		||||
	"distil-whisper-large-v3-en",
 | 
			
		||||
	"whisper-large-v3",
 | 
			
		||||
	"whisper-large-v3-turbo",
 | 
			
		||||
 | 
			
		||||
	// Preview Models
 | 
			
		||||
	"qwen-qwq-32b",
 | 
			
		||||
	"mistral-saba-24b",
 | 
			
		||||
	"qwen-2.5-coder-32b",
 | 
			
		||||
	"qwen-2.5-32b",
 | 
			
		||||
	"deepseek-r1-distill-qwen-32b",
 | 
			
		||||
	"deepseek-r1-distill-llama-70b-specdec",
 | 
			
		||||
	"deepseek-r1-distill-llama-70b",
 | 
			
		||||
	"llama-3.2-1b-preview",
 | 
			
		||||
	"llama-3.2-3b-preview",
 | 
			
		||||
	"llama-3.2-11b-vision-preview",
 | 
			
		||||
	"llama-3.2-90b-vision-preview",
 | 
			
		||||
	"llama-3.3-70b-specdec",
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -33,9 +33,16 @@ var ModelList = []string{
 | 
			
		||||
	// -------------------------------------
 | 
			
		||||
	// language model
 | 
			
		||||
	// -------------------------------------
 | 
			
		||||
	"anthropic/claude-3.5-haiku",
 | 
			
		||||
	"anthropic/claude-3.5-sonnet",
 | 
			
		||||
	"anthropic/claude-3.7-sonnet",
 | 
			
		||||
	"deepseek-ai/deepseek-r1",
 | 
			
		||||
	"ibm-granite/granite-20b-code-instruct-8k",
 | 
			
		||||
	"ibm-granite/granite-3.0-2b-instruct",
 | 
			
		||||
	"ibm-granite/granite-3.0-8b-instruct",
 | 
			
		||||
	"ibm-granite/granite-3.1-2b-instruct",
 | 
			
		||||
	"ibm-granite/granite-3.1-8b-instruct",
 | 
			
		||||
	"ibm-granite/granite-3.2-8b-instruct",
 | 
			
		||||
	"ibm-granite/granite-8b-code-instruct-128k",
 | 
			
		||||
	"meta/llama-2-13b",
 | 
			
		||||
	"meta/llama-2-13b-chat",
 | 
			
		||||
@@ -50,7 +57,6 @@ var ModelList = []string{
 | 
			
		||||
	"meta/meta-llama-3-8b-instruct",
 | 
			
		||||
	"mistralai/mistral-7b-instruct-v0.2",
 | 
			
		||||
	"mistralai/mistral-7b-v0.1",
 | 
			
		||||
	"mistralai/mixtral-8x7b-instruct-v0.1",
 | 
			
		||||
	// -------------------------------------
 | 
			
		||||
	// video model
 | 
			
		||||
	// -------------------------------------
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user