mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
GroqCloud plugin request error #652
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Mgrsc on GitHub (Sep 16, 2025).
Self Checks
Dify version
v1.8.1
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Configured the GroqCloud model provider, but the requested model was actually x.ai's grok-code-fast-1-0825.
Error:
✔️ Expected Behavior
Models owned by the Groq model provider should be requested.
❌ Actual Behavior
Configured the GroqCloud model provider, but the requested model was actually x.ai's grok-code-fast-1-0825.
@dosubot[bot] commented on GitHub (Sep 16, 2025):
Dify strictly enforces model-provider mapping: only models explicitly declared in the GroqCloud plugin manifest can be used with the GroqCloud provider. If you try to request a model that isn't registered under GroqCloud (like an x.ai model), you'll always get a
model_not_founderror—there's no fallback or cross-provider mapping by design.To resolve this, make sure your dify-official-plugins and GroqCloud plugin are fully up to date, as recent updates add/remove supported models and fix validation logic. In your Dify admin UI, check that only GroqCloud-supported models are selectable for the GroqCloud provider. If you still see the error after updating, restart both the plugin_daemon and Dify containers to clear any stale state or cache. If you need to add or remove models for GroqCloud, update the plugin manifest/YAML files and restart the plugin_daemon.
If you’re running into persistent 404 errors during credential validation, double-check your Docker proxy (Squid) config and logs, as network/proxy misconfiguration can also block model validation requests in self-hosted setups (reference). For plugin or model deprecation issues, updating to the latest plugin version or patching the model name in the plugin code is required (reference).
There is no mechanism in Dify to request x.ai models from GroqCloud or vice versa—each provider is isolated and only supports its own declared models (reference).
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other

@dosubot[bot] commented on GitHub (Sep 16, 2025):
The error happens because
grok-code-fast-1-0825is an x.ai Grok model, not a GroqCloud model—GroqCloud and x.ai are separate providers with different model lists. GroqCloud does not support any x.ai Grok models, so trying to add or request one from the GroqCloud provider will always return a 404 "model not found" error. Only models explicitly listed for GroqCloud in the Dify UI or plugin (likeallam-2-7b,groq/compound,llama-3.1-8b-instant, etc.) will work with the GroqCloud plugin. To use x.ai Grok models, you need to configure the x.ai/Grok provider instead of GroqCloud. If you see x.ai models under GroqCloud, it's likely a configuration or data issue, not a code bug—make sure only Groq models are selectable for GroqCloud in your provider/model lists and database. More details here: source.To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other

@npgfg commented on GitHub (Oct 6, 2025):
Hi, exact same issue here just when i try to save my Groq API Key. Any plans on a fix?
@dosubot[bot] commented on GitHub (Oct 22, 2025):
Hi, @Mgrsc. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.
Issue Summary:
Next Steps:
Thank you for your understanding and contribution!
@syedkhalid0 commented on GitHub (Oct 22, 2025):
The problem is you are not understanding.
We are not trying to call
grok-code-fast-1-0825viaGroqCloud, and we do know it's an x.ai model.We are trying to CONFIGURE the GroqCloud Model Provider. After installing GroqCloud as provider, when we try to configure it by adding an API KEY, it's throwing an error:
Hence, the GroqCloud extension/plugin is calling the model while saving the API KEY.
Additionally we can clearly see on Groq's Logs (Dashboard > Logs) that Dify is trying to call a model on Groq that is not supported:
Steps to recreate this error on Dify Cloud:
GroqCloud(if not already installed)@syedkhalid0 commented on GitHub (Oct 22, 2025):
I found the problem.
on file models/groq/provider/groq.py
@dosubot[bot] commented on GitHub (Nov 8, 2025):
Hi, @Mgrsc. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.
Issue Summary:
Next Steps:
Thank you for your understanding and contribution!