Skip to content

Conversation

@ikeda-tomoya-swx
Copy link
Contributor

Summary

Add automatic jp. prefix assignment for Amazon Bedrock cross-region inference when using Tokyo region (ap-northeast-1).

Currently, the APAC region case uses apac. prefix for all AP regions, but Tokyo region requires jp. prefix for cross-region inference profiles.

Changes

  • Add isTokyoRegion check in the case "ap" block
  • Tokyo region (ap-northeast-1) → uses jp. prefix
  • Other APAC regions → continue using apac. prefix

Test

Tested with GitHub Actions workflow using:

  • Model: amazon-bedrock/anthropic.claude-sonnet-4-5-20250929-v1:0 (without prefix)
  • Region: ap-northeast-1
  • Result: Successfully called Bedrock API with auto-prefixed jp.anthropic.claude-sonnet-4-5-20250929-v1:0

Related

This complements the existing cross-region prefix skip logic (merged in #6916) by providing automatic prefix assignment for Tokyo region users.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 6, 2026

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

@ikeda-tomoya-swx ikeda-tomoya-swx marked this pull request as ready for review January 6, 2026 06:29
@rekram1-node rekram1-node merged commit 1016a52 into anomalyco:dev Jan 6, 2026
2 checks passed
ruuxi pushed a commit to ruuxi/ngmicode that referenced this pull request Jan 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants