fix(llm): 更新 DeepSeek 默认模型并隐藏方舟预设#131
Closed
Cooper-X-Oak wants to merge 1 commit into
Closed
Conversation
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
There was a problem hiding this comment.
Sorry @Cooper-X-Oak, you have reached your weekly rate limit of 500000 diff characters.
Please try again later or upgrade to continue using Sourcery
Contributor
Author
|
按最新反馈撤销这个 PR:本轮不再移除 ARK 预设,也不修改默认 LLM provider;后续只提交 DeepSeek 模型引用名修复。 |
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.
摘要
Fixes #130
这个 PR 解决 v1.2.8 设置页 LLM 供应商预设和 DeepSeek 默认模型过期的问题:不再暴露 ARK 预设,并将默认 DeepSeek 模型切到官方当前模型名
deepseek-v4-flash。修复 / 新增 / 改进
LLM_PRESETS与DEFAULT_LLM_PRESET_ID,让 LLM 默认配置可以被轻量测试覆盖。ARK(火山方舟)预设,默认供应商改为DeepSeek。deepseek-v4-flash,并补充deepseek-v4-pro。https://api.deepseek.com/v1。兼容
ark.*credential account;这些 key 仍作为兼容层使用,避免破坏已有本地凭据读取。自定义供应商按官方 OpenAI 接口参数填写 Base URL / Model / API Key 使用。测试计划
npm exec --yes tsx src/lib/llmPresets.test.tsnpm exec --yes tsx src/lib/providerSetup.test.tsnpm exec --yes tsx src/lib/capsuleLayout.test.tsnpm run buildcargo +stable-x86_64-pc-windows-gnu test --manifest-path src-tauri\Cargo.toml --no-rungit diff --check/git diff --cached --check