🔨 chore: Update HF provider support (#9751)

* feat: update Hugging Face integration with new model fetching logic and pricing support

* fix: format adjustments in convertOpenAIMessagesToHFFormat function and update max_tokens handling

* refactor: remove enabled property from huggingfaceChatModels and clean up related tests

* feat: 添加 Qwen3-VL-8B-Instruct 和 Qwen3-VL-8B-Thinking 模型,支持视觉理解和推理

* feat: 实现 OpenAI 消息格式转换为 Hugging Face 格式,并添加相关单元测试
This commit is contained in:
sxjeru
2025-10-19 15:29:42 +08:00
committed by GitHub
parent 808cb21b99
commit 1b3f88346b
12 changed files with 1225 additions and 223 deletions

View File

@@ -143,7 +143,7 @@
"@fal-ai/client": "^1.6.2",
"@formkit/auto-animate": "^0.9.0",
"@google/genai": "^1.24.0",
"@huggingface/inference": "^2.8.1",
"@huggingface/inference": "^4.11.3",
"@icons-pack/react-simple-icons": "^13.8.0",
"@khmyznikov/pwa-install": "0.3.9",
"@langchain/community": "^0.3.57",