mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
Invalid Model Identifier Error When Using Non-Cross-Region Model Names #764
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 @chaosyaan on GitHub (Oct 30, 2025).
Self Checks
Dify version
1.9.2
Plugin version
bedrock 0.0.44
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
When attempting to use a model with a non-cross-region identifier (e.g., deepseek.v3-v1:0, penai.gpt-oss-120b-1:0), the system returns an error: "The provided model identifier is invalid."
✔️ Error log
No response
@chaosyaan commented on GitHub (Oct 30, 2025):
https://github.com/langgenius/dify-official-plugins/pull/1969
@dosubot[bot] commented on GitHub (Oct 30, 2025):
Hi @chaosyaan! I'm Dosu and I’m helping the dify-official-plugins team.
PR #1969 directly fixes the "Invalid Model Identifier" error for non-cross-region models in the Bedrock plugin. The updated logic now only adds region prefixes to model IDs if the model actually supports cross-region inference. For models like DeepSeek and OpenAI OSS, which do not support this, the plugin avoids adding the prefix, preventing the invalid identifier error. This change is included in Bedrock plugin version 0.0.45 and should resolve the issue you described. You can find the relevant logic in the updated model ID handling code and the allowlist for cross-region support models here.
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other
