Implement Batched Message Storage for AgentCore Session Manager

オープン
#216 コメント 0 件 リアクション 2 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python

調査の方向性

AgentCore Session Manager の実装とその create_event 呼び出しを特定し、バッチ処理と close/finally の処理をどこに配置するかを決める前に、周辺のメッセージライフサイクルを確認します。ドキュメント化されているパラメーターとサンプルコードを更新し、デフォルトでは引き続き 1 回の呼び出しにつき 1 メッセージが送信され、失敗時またはクローズ時には保留中のメッセージが送信されることを確認します。

索引モデルが issue の本文から書いたものです。

説明

enhancement

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
主要言語
Python
スター
786
フォーク
163
平均マージ
4時間
マージ済み PR(30日)
22

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

aws/bedrock-agentcore-sdk-python のほかの issue

aws/bedrock-agentcore-sdk-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。