Repository navigation
Conversation
Author
|
Rebuilt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Plugin Submission
Follows #3771: manifest tags fixed, packaging check passes locally (output below).
Plugin information
Submission type
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
It sends user content to an external service (
api.naga.ac), which is the Medium definition.Required checks
.envfiles,.gitdirectories, virtual environments, caches, logs, or IDE files.PRIVACY.mdor a hosted privacy policy, andmanifest.yamlreferences it.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 theAuthorizationheader.Local validation
nagaai-0.1.0.difypkg: 0 blocking issues.check_packaging_rules.py: 0 blocking, 0 warningscheck_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)With
tags: [llm]the same command fails onTags[0]with theplugin_tagvalidator, as in #3771;otheris in both the CLI's tag list and the curation vocabulary.validate-difypkg.pywith this PR body: 0 blocking failures.test-plugin-install.py: "Plugin test result: success".Reviewer notes
The near-duplicate warning compares
nagaaiwithCloudPureNO1/insigmaaionly by name similarity. They are unrelated services: this plugin is published by NagaAI and talks only toapi.naga.ac.