mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
feat(web): add all supported provider client types to model selector
This commit is contained in:
@@ -156,7 +156,10 @@ import { useMutation, useQueryCache } from '@pinia/colada'
|
||||
import { postProviders } from '@memoh/sdk'
|
||||
import type { ProvidersClientType } from '@memoh/sdk'
|
||||
|
||||
const CLIENT_TYPES: ProvidersClientType[] = ['openai', 'openai-compat', 'anthropic', 'google', 'ollama']
|
||||
const CLIENT_TYPES: ProvidersClientType[] = [
|
||||
'openai', 'openai-compat', 'anthropic', 'google',
|
||||
'azure', 'bedrock', 'mistral', 'xai', 'ollama', 'dashscope',
|
||||
]
|
||||
|
||||
const open = defineModel<boolean>('open')
|
||||
|
||||
|
||||
@@ -32,7 +32,10 @@ import type { ProvidersGetResponse, ProvidersClientType } from '@memoh/sdk'
|
||||
import AddProvider from '@/components/add-provider/index.vue'
|
||||
import { useQuery } from '@pinia/colada'
|
||||
|
||||
const CLIENT_TYPES: ProvidersClientType[] = ['openai', 'openai-compat', 'anthropic', 'google', 'ollama']
|
||||
const CLIENT_TYPES: ProvidersClientType[] = [
|
||||
'openai', 'openai-compat', 'anthropic', 'google',
|
||||
'azure', 'bedrock', 'mistral', 'xai', 'ollama', 'dashscope',
|
||||
]
|
||||
|
||||
const filterProvider = ref('')
|
||||
const { data: providerData } = useQuery({
|
||||
|
||||
Reference in New Issue
Block a user