Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

東京リージョンでのエージェント利用で不具合 #887

Open
Kosegawa opened this issue Feb 6, 2025 · 0 comments
Open

東京リージョンでのエージェント利用で不具合 #887

Kosegawa opened this issue Feb 6, 2025 · 0 comments

Comments

@Kosegawa
Copy link

Kosegawa commented Feb 6, 2025

東京リージョンにデプロイしている環境において、Knowledge Bases for Amazon Bedrockエージェントを利用したい場合。
CodeInterpreterAgentやWebSearchAgentは使わないのにスタックを作ろうとしてエラーになってしまう。
※construct/agent.tsの138行目〜をコメントアウトすることでエラーは回避できる
おそらく、CodeInterpreterAgentが東京リージョンでサポートされていないのが原因と推察。

Knowledge Bases for Amazon Bedrock エージェントのデプロイ

// cdk.json
{
  "context": {
    "agentEnabled": true,
    "agents": [
      {
        "displayName": "Knowledge Base",
        "agentId": "XXXXXXXXX",
        "aliasId": "YYYYYYYY"
      }
    ],
  }
}

"agentEnabled": true, にしてしまうと、利用しなくともCodeInterpreterAgentやWebSearchAgentが有効化されてしまうのは、適切ではないと考える。(利用リージョンの柔軟性がなくなる)

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

No branches or pull requests

1 participant