aws / aws/bedrock-agentcore-sdk-python
Implement Batched Message Storage for AgentCore Session Manager
- 主要言語
- Python
- スター
- 761
- フォーク
- 147
- 平均マージ
- 1日 23時間
- マージ済み PR(30日)
- 7
説明
## Problem
The current Strands AgentCore Session Manager calls create_event per message. Since AgentCore charges per create_event call, this results in excessive costs for customers.
## Solution
Add a new input parameter to configure how many messages are batched per create_event call. Default to 1 for backwards compatibility.
## Implementation Details
* Add configurable batch size parameter (default: 1)
* Add finally/close block to ensure messages are sent to failure
* Update documentation and sample code to demonstrate batching
コントリビューションガイド
調査の方向性
AgentCore Session Manager の実装とその create_event 呼び出しを特定し、バッチ処理と close/finally の処理をどこに配置するかを決める前に、周辺のメッセージライフサイクルを確認します。ドキュメント化されているパラメーターとサンプルコードを更新し、デフォルトでは引き続き 1 回の呼び出しにつき 1 メッセージが送信され、失敗時またはクローズ時には保留中のメッセージが送信されることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- api, backend, documentation
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 48/100