Add The Grid plugin 0.0.1 - #3041
Open
CastilloLuis wants to merge 2 commits into
Open
Conversation
pre-check-plugin failed with: - missing required field: repo - missing required field: contact - missing recommended field: meta.minimum_dify_version Adds all three. repo points at the plugin source, contact is the project's support address, and 1.7.1 is the floor most merged plugins on the same dify_plugin>=0.9.0 SDK line declare. Package contents are otherwise byte-identical; only manifest.yaml changed.
CastilloLuis
added a commit
to the-gridai/dify-official-plugins
that referenced
this pull request
Sep 9, 2026
The community submission (langgenius/dify-plugins#3041) fails pre-check without repo and contact. Keeping the source manifest in step so a rebuild does not drop them again.
Author
|
Fixed the The repacked
Nothing else in the package changed: same 36 entries, only |
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
Plugin information
Submission type
What changed
Adds The Grid as a model provider. The Grid is an inference marketplace that serves models from several labs behind one OpenAI-compatible API.
Model names are capability tiers rather than a specific lab's model name:
text-standard,code-primeandagent-maxeach route to a model that currently qualifies for that tier, so an app keeps working when the underlying model is replaced. 17 instruments are declared, including lab-pinned ones such asclaude-opus-latestandgemini-pro-latest.It subclasses
OAICompatLargeLanguageModelwith no custom request logic: base URL,mode,function_calling_typeandstream_function_callingonly.supported_model_typesis[llm]alone, because The Grid returns 404 for/v1/completionsand/v1/embeddings.This was originally opened against
langgenius/dify-official-plugins(#3839) and closed there with a request to submit it here under our own publisher identity instead. Resubmitting accordingly, withauthor: the-gridai.Risk level
The plugin only calls a fixed, documented third-party HTTPS API (
https://api.thegrid.ai/v1, overridable by the user in provider settings). It executes no user-controlled code, commands, SQL or file operations, and performs no browser automation or arbitrary network requests.Required checks
.envfiles,.gitdirectories, virtual environments, caches, logs, or IDE files.PRIVACY.mdor a hosted privacy policy, andmanifest.yamlreferences it.Two boxes deliberately left unticked, rather than ticked inaccurately:
Security and privacy notes
None of the sensitive capabilities listed in the requirements apply. No command or code execution, no SQL, no SSH/SFTP, no filesystem operations, no browser automation, no arbitrary URL fetching or proxying.
Data flow: prompts, tool definitions and generation parameters are sent to The Grid's API, authenticated with a bearer key the user supplies in provider settings. The plugin stores nothing and logs no prompt or response content.
PRIVACY.mddocuments this, including that The Grid routes each request to a supplier that currently qualifies for the selected instrument, so prompt content reaches that supplier in order to be served.One connection requirement worth flagging for reviewers:
api.thegrid.ai/v1/*answers with a307redirect to a signed URL on the same host. Therequests-based transport indify_pluginfollows it, so nothing special is needed, but an egress proxy in front of Dify must allow redirects. This is documented in the README.Local validation
Exercised the plugin class directly against the live API, not mocked:
Package checks:
Reviewer notes
No
pricingblock on any model definition. The Grid is market-priced and its catalog currently returns"pricing": nullfor every instrument, so any static per-token figure would be wrong shortly after merge.No
enable_thinkingtoggle. Reasoning is mandatory on the standard and prime tiers; I tested passing a disable flag and the instruments still emitted reasoning tokens, so a toggle would misrepresent behaviour.reasoning_effortis exposed instead, with each instrument's actual supported values taken from the catalog.kimi-latesthasmax_tokenscapped at 131072 with a comment explaining why: the catalog reportsmax_completion_tokensequal to its full 1,048,576 context window, which cannot be an output ceiling.Disclosure: I work on The Grid.