mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
[PR #1687] [MERGED] fix: support claude-sonnet-4 global region #2031
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?
📋 Pull Request Information
Original PR: https://github.com/langgenius/dify-official-plugins/pull/1687
Author: @twjackysu
Created: 9/9/2025
Status: ✅ Merged
Merged: 9/10/2025
Merged by: @crazywoola
Base:
main← Head:main📝 Commits (1)
c1b49f7fix: support claude-sonnet-4 global region📊 Changes
3 files changed (+31 additions, -7 deletions)
View changed files
📝
models/bedrock/manifest.yaml(+1 -1)📝
models/bedrock/models/llm/llm.py(+16 -2)📝
models/bedrock/models/llm/model_ids.py(+14 -4)📄 Description
Related Issues or Context
ref: https://docs.aws.amazon.com/bedrock/latest/userguide/inference-profiles-support.html
This PR adds support for AWS Bedrock's new
globalprefix for cross-region inference, which enables automatic routing to optimal AWS regions within a geography for improved performance and availability.AWS recently introduced global cross-region inference for select models (Claude 4 series), where models can be accessed using a
globalprefix (e.g.,global.anthropic.claude-sonnet-4-20250514-v1:0) that automatically routes requests to the best available region.This PR contains Changes to Non-Plugin
This PR contains Changes to Non-LLM Models Plugin
This PR contains Changes to LLM Models Plugin
Version Control (Any Changes to the Plugin Will Require Bumping the Version)
VersionField, Not in Meta Section)Dify Plugin SDK Version
dify_plugin>=0.3.0,<0.5.0is in requirements.txt (SDK docs)Environment Verification (If Any Code Changes)
Local Deployment Environment
SaaS Environment
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.