Lumoswitch 文档
Agent 接入

通用 Agent 接入

Agent 通常只需配置三个值:

参数示例
Base URLOpenAI:https://api.lumoswitch.com/v1;Anthropic/Gemini:域名根地址
API Key创建配置后仅展示一次的 Lumoswitch Access Key
Model配置中暴露的对外模型名称

Agent 会直连 Lumoswitch 推理服务器。不要在 Agent 中填写上游渠道 Key。先在配置 API 中启用 Agent 使用的格式,再使用相同 Access Key 与对外模型名称调用。

Codex、OpenCode、Cline、Continue、Aider 等 Agent 请优先阅读各自页面。SDK 和普通图形客户端位于侧栏的「API 与兼容性」。

On this page