feat(providers): 新增 Requesty 润色渠道 - #1104
Closed
Thibaultjaigu wants to merge 1 commit into
Closed
Thibaultjaigu wants to merge 1 commit into
Thibaultjaigu wants to merge 1 commit into
Conversation
新增 Requesty 作为内置 OpenAI 兼容润色渠道,注册方式与 OpenRouter 一致:Core 渠道描述、默认地址 https://router.requesty.ai/v1、默认模型 openai/gpt-4o-mini、前端预设、八种语言文案与 Linux 文案目录,并同步浏览器预览描述快照和 README。
This was referenced Sep 25, 2026
Collaborator
|
Requesty 润色渠道已随 2.0.0-Beta.3 集成进入 |
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.
摘要
没有关联 issue。
新增 Requesty(OpenAI 兼容的 LLM 网关)作为内置润色渠道,注册位置与现有 OpenRouter 润色渠道一一对应。Requesty 是可选渠道,不会成为默认渠道,也不进入任何自动选择逻辑。
修复 / 新增 / 改进
provider_rules.rs:LLM_PROVIDER_TYPES增加requesty,默认地址https://router.requesty.ai/v1,默认模型openai/gpt-4o-mini(已在线上/v1/models目录核对)cloud_providers.rs:SHARED_CLOUD_LLM_PROVIDER_TYPES增加requestypolish.rs:is_builtin_llm_provider增加requesty,温度沿用内置渠道默认值ProvidersSection.tsx的LLM_LABELS与Overview.tsx的名称映射settings.providers.presets.requesty文案,以及linux-egui/assets/ui-locales.jsonmock-provider-descriptors.json与provider-descriptors.generated.json按 OpenRouter 条目做了对应的增量修改requesty_descriptor_supplies_defaults_formats_and_credentials兼容
reasoning对象是它自己的格式,这里保持不下发,与 CometAPI 相同)测试计划
cargo test --locked -p openless-core、npm test(含tsc && vite build)、rustfmt --checkrustfmt --check与prettier --check的既有提示在 upstream/beta 上同样存在,本次改动没有新增provider_descriptor("requesty")和OpenAICompatibleLLMProvider::polish跑真实请求,模型openai/gpt-4o-mini,Chat Completions、Responses、Messages 三种请求格式都返回了正常的润色结果(HTTP 200)手动测试:设置 → AI 服务 → 添加渠道 → Requesty,填入在 https://app.requesty.ai/api-keys 获取的 key,模型保留
openai/gpt-4o-mini或改成任意vendor/model形式的 id。文档:https://docs.requesty.aiDisclosure: I work at Requesty. Happy to adjust anything to match project conventions.