Repository navigation
feat: 接入硅基流动双站云端翻译 - #39
Merged
Merged
Conversation
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.
在快速设置的「选择并配置云端 LLM」页面增加硅基流动中文站和 SiliconFlow 国际站入口,分别使用对应站点的地址与 API Key,沿用现有按钮样式、模型列表和手动填写方式。
翻译模型列表按官方
sub_type=chat参数筛选,保留支持对话的视觉模型,避免列出语音、向量和重排等模型。筛选仅作用于两站官方翻译接口,不影响自建服务或语音识别的模型列表。复用现有 OpenAI 兼容翻译流程及预设凭据保护。验证:70 项相关 JVM 回归通过,覆盖站点选择、保存后重新打开、切站不串用密钥、模型列表请求及失败处理。Debug 和 Release 构建通过,已分别覆盖安装真机,未卸载或清理数据。尚未使用真实 SiliconFlow API Key 验证流式翻译、整屏翻译、相册批量翻译及划词解释。
对应任务:siliconflow/siliconflow-open-source-tasks#7