feat(stage-ui,i18n) add groq support (#857)
This commit is contained in:
@@ -603,6 +603,9 @@ pages:
|
||||
google-generative-ai:
|
||||
description: gemini.google.com
|
||||
title: Google Gemini
|
||||
groq:
|
||||
description: groq.com
|
||||
title: Groq
|
||||
featherless:
|
||||
description: featherless.ai
|
||||
title: Featherless AI
|
||||
|
||||
@@ -652,6 +652,17 @@ export const useProvidersStore = defineStore('providers', () => {
|
||||
},
|
||||
},
|
||||
},
|
||||
'groq': buildOpenAICompatibleProvider({
|
||||
id: 'groq',
|
||||
name: 'Groq',
|
||||
nameKey: 'settings.pages.providers.provider.groq.title',
|
||||
descriptionKey: 'settings.pages.providers.provider.groq.description',
|
||||
icon: 'i-lobe-icons:groq',
|
||||
description: 'groq.com',
|
||||
defaultBaseUrl: 'https://api.groq.com/openai/v1/',
|
||||
creator: createOpenAI,
|
||||
validation: ['model_list'],
|
||||
}),
|
||||
'openai': buildOpenAICompatibleProvider({
|
||||
id: 'openai',
|
||||
name: 'OpenAI',
|
||||
|
||||
Reference in New Issue
Block a user