feat: add huggingface provider and new model logos
- Add HuggingFace as AI provider with model fetching - Add Poolside, Tencent, and HuggingFace logo components - Update model mappings for new providers - Add @ai-sdk/huggingface dependency - Bump longcat-ai-sdk-provider to 0.0.5
This commit is contained in:
@@ -12,6 +12,7 @@ import nvidia from './nvidia';
|
||||
import xiaomi from './xiaomi';
|
||||
import openai from './openai';
|
||||
import anthropic from './anthropic';
|
||||
import huggingface from './huggingface';
|
||||
import type { Result } from '~~/types/result';
|
||||
import type { Gateway, GatewayFetchError } from '~~/server/utils/ai-provider';
|
||||
import type { Model as ModelDrizzle } from '~/composables/useModels';
|
||||
@@ -65,6 +66,7 @@ const providers = [
|
||||
xiaomi,
|
||||
openai,
|
||||
anthropic,
|
||||
huggingface,
|
||||
];
|
||||
|
||||
type ProviderId = typeof providers[number]['id'];
|
||||
|
||||
Reference in New Issue
Block a user