Skip to content

Add NagaAI model provider 0.1.0 - #3902

Open
zentixua wants to merge 2 commits into
langgenius:mainfrom
naga-ai-hub:add-nagaai-0.1.0-r2
Open

zentixua wants to merge 2 commits into
langgenius:mainfrom
naga-ai-hub:add-nagaai-0.1.0-r2

Conversation

@zentixua

Copy link
Copy Markdown

Plugin Submission

Follows #3771: manifest tags fixed, packaging check passes locally (output below).

Plugin information

Submission type

  • New plugin
  • Version update

What changed

Adds NagaAI as a model provider for language models.

Why it is needed: today NagaAI users go through OpenAI-API-compatible and add each model by hand, with its context size and tool support. It uses Dify's OAICompatLargeLanguageModel, so requests go to Chat Completions. This plugin ships four chat models with those values taken from NagaAI's public model list (each passed a three-turn tool-calling check on the live API), lets users add any other model id as a custom model, and checks the key with an unbilled request to the model list instead of a paid chat request.

Risk level

  • Low risk
  • Medium risk
  • High risk

It sends user content to an external service (api.naga.ac), which is the Medium definition.

Required checks

  • I have read and followed the Marketplace submission requirements.
  • I have read and comply with the Plugin Development Guidelines.
  • I tested this plugin on Dify Community Edition and Dify Cloud, or documented any limitation below.
  • The package contains only files needed at runtime.
  • The package does not contain secrets, local credentials, .env files, .git directories, virtual environments, caches, logs, or IDE files.
  • The package does not contain executables or bundled binaries, or I explained why they are required below.
  • The plugin README includes setup steps, usage instructions, required APIs or credentials, connection requirements, and the source repository link.
  • The plugin includes PRIVACY.md or a hosted privacy policy, and manifest.yaml references it.
  • All user-facing text is primarily in English, with any localized README files following the i18n guidance.

Security and privacy notes

Requests go only to the fixed address https://api.naga.ac/v1. The API key is stored as a Dify secret credential and sent only in the Authorization header.

Local validation

  • Dify Community Edition: installed the package, added a key, ran streaming and a tool-call round trip for each shipped model (Claude Opus 5.5, Claude Sonnet 5.5, GPT-6.1 Sol, DeepSeek V4.1 Flash). All passed.
  • Dify Cloud (14 Nov 2026, remote-debug install): Agent app with the built-in Current Time tools; each of the four models completed the tool call and gave a final answer.
  • Marketplace toolkit validator on nagaai-0.1.0.difypkg: 0 blocking issues.
  • Governance scripts from this repo on the rebuilt package (22 Nov 2026):
    • check_packaging_rules.py: 0 blocking, 0 warnings
    • check_manifest_tags.py: 0 errors (tags: [other])
    • check_near_duplicates.py: same plugin name and author as Add NagaAI model provider 0.1.0 #3771, where it reported 0 blocking and 1 warning (see reviewer notes)
  • Packaging check, run as the Pre Check Plugin workflow runs it, with the plugin daemon CLI 0.6.15:
$ python3 uploader -d unpacked_plugin -t placeholder --plugin-daemon-path dify-plugin-linux-amd64 -u https://marketplace.dify.ai -f --test
v0.6.15
INFO plugin packaged successfully output_path=temp.difypkg
Security scan: 1 domain(s), 0 undeclared, 1/1 runtime-constructed call site(s); dependencies=ok (0 vulnerability findings); capabilities=1 categor(ies)
!!! Skip uploading package in testing

With tags: [llm] the same command fails on Tags[0] with the plugin_tag validator, as in #3771; other is in both the CLI's tag list and the curation vocabulary.

  • validate-difypkg.py with this PR body: 0 blocking failures.
  • test-plugin-install.py: "Plugin test result: success".

Reviewer notes

The near-duplicate warning compares nagaai with CloudPureNO1/insigmaai only by name similarity. They are unrelated services: this plugin is published by NagaAI and talks only to api.naga.ac.

@github-actions github-actions Bot added the risk: medium Medium-risk Marketplace submission label Nov 22, 2026
@zentixua

Copy link
Copy Markdown
Author

Rebuilt nagaai-0.1.0.difypkg with the new NagaAI icon (_assets/icon.svg, a plain 0.5 KB vector); nothing else in the package changed. Source: naga-ai-hub/dify-plugin-nagaai@1a2ac75. Re-run locally on the rebuilt package: the packaging check with plugin daemon CLI 0.6.15 passes, validate-difypkg.py reports 0 blocking failures, test-plugin-install.py succeeds, check_packaging_rules.py reports 0 blocking findings and 0 warnings, and check_manifest_tags.py reports 0 errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: medium Medium-risk Marketplace submission

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant