mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
The API key check logic in Dify is outdated. #696
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 @yuchiho2008 on GitHub (Oct 9, 2025).
Self Checks
Dify version
Version 1.9.1
Cloud or Self Hosted
Cloud
Steps to reproduce
Steps to reproduce
✔️ Expected Behavior
✔️ Expected Behavior
The Groq API credentials should validate successfully, and the model should be available for use in the workspace.
❌ Actual Behavior
❌ Actual Behavior
Validation fails with:
{"error":{"message":"The model
llama3-8b-8192has been decommissioned and is no longer supported. Please refer to https://console.groq.com/docs/deprecations for a recommendation on which model to use instead.","type":"invalid_request_error","code":"model_decommissioned"}}@dosubot[bot] commented on GitHub (Oct 9, 2025):
Hi @yuchiho2008! I'm Dosu and I’m helping the dify team.
The API key validation logic in Dify v1.9.1 is outdated and still references the deprecated Groq model
llama3-8b-8192, which causes credential validation to fail. Recent updates have been merged to the codebase that address this issue by supporting multiple model credentials and ensuring only active models are used for validation. These changes are reflected in pull requests #24451 and #25759, which update backend logic to prevent deprecated models from being used during API key checks.To resolve this, Dify needs to reference a currently supported Groq model, such as
llama-3.1-8b-instant, for validation. If you are using the cloud deployment and still encountering this issue, it may be due to the cloud instance not yet running the latest code with these fixes. Once the updates are live, you should be able to add Groq API keys and select supported models without encountering the decommissioned model error.To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other
