Conversation
- 新增 xiaomi provider(OpenAI 兼容,base_url=token-plan-cn.xiaomimimo.com/v1) - 默认 LLM_PROVIDER=xiaomi,模型 tier 映射:skim=mimo-v2-omni / deep+fallback=mimo-v2.5-pro / vision=mimo-v2.5 - embedding 解耦至独立配置(EMBEDDING_API_KEY/BASE_URL/DIMENSIONS),默认走阿里百炼 text-embedding-v4 (1024 维) - 前端 PROVIDER_PRESETS、ProviderBadge、ConfigModal 默认值同步至 xiaomi - 智谱 zhipu provider 完整保留作为兜底,可前端切换 - 部署脚本与 .env.example 提示更新 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
🔍 OpenCode PR Review Required这是一个受保护的分支,merge 前需要进行 code review。 请运行以下命令进行 OpenCode review: 或者在 PR 页面评论 This is an automated reminder from PR Review Gate. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
xiaomiprovider(OpenAI 兼容协议,base_url=https://token-plan-cn.xiaomimimo.com/v1),并设为默认 LLM Providermimo-v2-omni/ deep+fallback=mimo-v2.5-pro/ vision=mimo-v2.5(多模态)EMBEDDING_API_KEY/EMBEDDING_BASE_URL/EMBEDDING_DIMENSIONS),默认走阿里百炼 DashScopetext-embedding-v4(1024 维)改动文件
packages/config.py/packages/integrations/llm_client.py/packages/domain/model_tier.py/packages/domain/schemas.py/apps/api/routers/llm_configs.pyfrontend/src/types/index.ts/frontend/src/pages/Settings.tsx/frontend/src/components/SettingsDialog.tsx.env.example/scripts/copy_env_from_deploy.sh/scripts/docker_deploy.shTest plan
/v1/models确认模型 ID 全小写命名LLMClient.summarize_textskim/deep 两条链路返回正常LLMClient.embed_text独立分支命中阿里 DashScope,返回 1024 维向量/agent/chatSSE 流式端到端通过/settings/llm-providers/active正确识别 xiaomi 配置🤖 Generated with Claude Code