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:
Zoe
2026-05-11 17:43:02 -05:00
parent a0f2e89154
commit a1aeed51e2
8 changed files with 197 additions and 9 deletions
+2
View File
@@ -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'];