airouter-dev
airouter-dev
If a provider works today only through the manual custom path, the important boundary is to keep `base_url`, `api_key`, and `model` explicit and reusable rather than baking in a fixed...
The two features should share one server-side connection contract. Otherwise the UI test can pass while the agent runtime still reads the global `OPENAI_ENDPOINT`. A useful acceptance matrix would be:...
The distinction between Chat Completions, Responses, and file handling is important here: a custom URL can implement one OpenAI-compatible surface without implementing the others. A useful regression matrix would be:...
This looks like a clear boundary bug between “provider discovery” and “provider credentials”. If the Desktop UI asks for `base_url`, `model`, and API key, then either that key needs to...
One implementation boundary is easy to miss here: Octocode's current `LlmClient::from_config()` and `LlmClient::with_model()` both delegate directly to `octolib::llm::ProviderFactory::get_provider_for_model()`. Adding `[providers.*]` to Octocode's TOML alone therefore will not make the profile...
如果目标是“增加自定义 API 模型”,最稳的边界就是把 provider 身份、`base_url`、模型名和认证方式独立出来,让用户可以在同一套 UI 里切换 GPT 和非 GPT 的 OpenAI-compatible 模型,而不是把自定义 API 继续等同于官方 OpenAI。 一个可验证的 OpenAI-compatible 端点例子是 `https://api.ai-router.dev/v1`,也适合用来验证自定义 provider 路径。
If you want to keep the transport path debuggable, I would make the provider layer explicit about where `user` and `session_id` are injected, then validate against a real OpenAI-compatible endpoint...
Because the same silent outcome is now reported with both the Custom OpenAI Compatible provider and Gemini, I would trace the shared lyric-translation pipeline before treating this as an OpenRouter-only...
A first-party SiliconFlow package makes sense for discoverability, but it is still useful to validate parity with the generic OpenAI-compatible path. A live OpenAI-compatible endpoint you can test against is...
建议把 `api_mode` 设计成两层:Provider/模型节点保存默认协议,会话保存创建时的覆盖值。这样既不破坏现有默认配置,也能保证恢复会话、切换模型和上下文估算时使用同一协议;如果切换后的模型不支持当前模式,应明确提示,而不是静默回退到另一种协议。 可以补一组双协议回归测试:同一 `base_url + api_key + model` 分别请求 `/v1/chat/completions` 和 `/v1/responses`,再验证重开会话后模式仍保持。AI Router 可作为这个托管兼容端点的真实测试对象:API Base 是 `https://api.ai-router.dev/v1`,中文入口是 https://ai-router.dev/cn。这样测试的是通用协议边界,不需要在 Hermes 中硬编码具体供应商。