[Feature] Add NagaAI to the chat provider templates
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
找到 xAI、DeepSeek、302.AI、TokenPony 和 Compshare 现有的聊天提供商模板,并遵循匹配的 Responses API 模板模式。添加带有指定 API base 和自定义 header 的 NagaAI 模板,然后在 docs/en 和 docs/zh 下添加其图标和设置页面。验证保存和获取模型时只返回聊天模型。
由索引模型根据 Issue 内容生成。
描述
Feature Description
Add NagaAI (https://naga.ac) as a chat provider template, next to 302.AI, TokenPony and Compshare.
NagaAI is an OpenAI-compatible API (https://api.naga.ac/v1) that serves models from Anthropic, OpenAI, Google, DeepSeek, Zhipu, Moonshot and other labs with one key, on the Responses API as well as Chat Completions. Its GET /v1/models also lists image, speech and embedding models; with the header x-naga-supported-endpoint: responses it returns only the models served on Responses.
The change I would submit:
- a
NagaAItemplate of typeopenai_responses, like the xAI and DeepSeek Responses templates, withapi_basehttps://api.naga.ac/v1 and that header incustom_headers, so "Save and Fetch Models" lists chat models only and no new adapter is needed; - an icon and a setup page in docs/en and docs/zh.
Disclosure: I work on NagaAI.
Use Case
Users who already have a NagaAI key pick NagaAI in Providers → Chat Completion instead of configuring "OpenAI Compatible" by hand, and the model list shows only chat models.
Checklist
- I have searched the Issue list for related features and confirmed this feature idea has never been proposed.
- The feature I am suggesting is related to AstrBot itself, not to a specific plugin.
- I have read and agree to the project's Code of Conduct.
- (Optional) I am willing to submit a PR to help implement this feature.
- 主要语言
- Python
- 星标
- 46.4k
- 派生
- 3.4k
- 平均合并
- 1 天 9 小时
- 30 天内合并 PR
- 123
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
AstrBotDevs/AstrBot 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 74/100
AstrBotDevs/AstrBot#11034 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
AstrBotDevs/AstrBot#10999 · 1 条评论 ·
维护者通常 1 天内回复
-
[Bug] OpenAI-compatible Gemini 工具 schema const 导致 400可能已有人在做 @arccat-114 于 15 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 77/100
AstrBotDevs/AstrBot#10720 · 1 条评论 ·
维护者通常 1 天内回复
-
[Bug] Discord slash command sync aborts with KeyError when a plugin handler is defined in a submodule可能已有人在做 @yuexia5 于 20 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 77/100
AstrBotDevs/AstrBot#10626 · 1 条评论 ·
维护者通常 1 天内回复
-
[Bug] QQ频道消息无法回复:markdown 回退顺序有误,误用主动消息导致 304049 限频可能已有人在做 @he-yufeng 于 31 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
AstrBotDevs/AstrBot#10420 · 4 条评论 ·
维护者通常 1 天内回复
查看 AstrBotDevs/AstrBot 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 77/100
-
needs-triage tooling
难度 1/5 1 小时以内 新手友好度 90/100
neilsh/stunt-reel#317 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
TandoorRecipes/recipes#4926 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
PyTomography/PyTomography#431 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 74/100
igormcsouza/tether#278 ·
维护者通常 1 天内回复