Skip to content

fix: Code Interpreterが動作しない問題を修正#1574

Closed
take-pi wants to merge 2 commits into
aws-samples:mainfrom
take-pi:fix/code-interpreter-dependency-lock
Closed

fix: Code Interpreterが動作しない問題を修正#1574
take-pi wants to merge 2 commits into
aws-samples:mainfrom
take-pi:fix/code-interpreter-dependency-lock

Conversation

@take-pi
Copy link
Copy Markdown

@take-pi take-pi commented May 19, 2026

問題

Agent Builderでコード実行を有効にするを設定したエージェントを作成しても、Code Interpreterが動作しない。

原因

uv.lockstrands-agents-toolsv0.0.1に固定されており、このバージョンには strands_tools モジュールが含まれていない。

そのため、RuntimeのCloudWatch Logsに警告が出力され、
CODE_INTERPRETER_AVAILABLEFalse となりツールが追加されない。

修正内容

uv.lockstrands-agents-tools を更新

既存ユーザーへの影響

  • uv.lock のみの変更のため、破壊的変更はなし
  • Code Executionを無効にしているエージェントへの影響はなし
  • Code Executionを有効にしているエージェントは、再デプロイ後にCode Interpreterが正常に動作するようになる

Checklist

  • Modified relevant documentation
  • Verified operation in local environment
  • Executed npm run cdk:test and if there are snapshot differences, execute npm run cdk:test:update-snapshot to update snapshots

Related Issues

Please list related issues as much as possible.

take-pi added 2 commits May 16, 2026 03:37
Update generic-agent-core-runtime dependency lock so strands-agents-tools is upgraded to 0.5.3 and require >=0.5.2 in pyproject.toml. This ensures the AgentCore code interpreter tool is available when code execution is enabled.
@take-pi
Copy link
Copy Markdown
Author

take-pi commented May 21, 2026

不要な修正があるのでクローズします 🙇‍♂️

@take-pi take-pi closed this May 21, 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.

1 participant