[Feature] Add NagaAI to the chat provider templates
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
- [x] I have searched the Issue list for related features and confirmed this feature idea has never been proposed.
- [x] The feature I am suggesting is related to AstrBot itself, not to a specific plugin.
- [x] I have read and agree to the project's Code of Conduct.
- [x] (Optional) I am willing to submit a PR to help implement this feature.
@anka-afk ad,close
Hi, thanks for your interest in AstrBot and for disclosing your affiliation.
Before opening an implementation PR or requesting a built-in provider entry: the right channel for commercial provider presets and built-in integrations is email. Please reach out to [email protected] first — that's where provider placement, product evaluation, and partnership/sponsorship inquiries are handled (https://astrbot.app/#/sponsors).
A few notes depending on the integration type:
- Standard OpenAI / Anthropic-compatible LLM services: AstrBot already supports custom endpoints out of the box (Providers → Add Provider → OpenAI Compatible, fill in the API Base URL and API Key, and click Fetch Models). Because this works without code changes, built-in presets in
default.pyare treated as directory placements rather than technical features. - Custom built-in providers (e.g., web search, TTS, STT, or non-standard APIs): Each built-in integration adds ongoing maintenance surface across core tools, WebUI settings, i18n, documentation, and tests. Maintainers evaluate product fit, community demand, and long-term maintenance cost before accepting an implementation PR. Alternatively, you can publish the integration right away as a standalone AstrBot plugin or MCP server without waiting for core changes.
Thanks for understanding!