aws / aws/bedrock-agentcore-sdk-python

List active *runtime* sessions through the SDK

オープン
#402 コメント 2 件 リアクション 7 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
761
フォーク
147
平均マージ
1日 23時間
マージ済み PR(30日)
7

説明

**Is your feature request related to a problem? Please describe.**
I'm frustrated there isn't a way to list active runtime sessions programatically.

I'm under the impression that neither `idle_runtime_session_timeout=60` nor `stop_runtime_session` are closing sessions since my memory consumption is not going to 0 - so have an API/SDK function for finding and closing these sessions would help.

**Describe the solution you'd like**
I'd like to list active runtime sessions **(not memory sessions)** through the SDK so I can kill then using `stop_runtime_session` depending on their state.

**Describe alternatives you've considered**
I've tried looking for APIs or documentation on how to have access to runtime session, but found nothing about it.

**Additional context**
Add any other context or screenshots about the feature request here.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

ファイルやテストは指定されていません。まず stop_runtime_session の SDK エントリポイントと基盤となる runtime service API を確認し、次にアクティブな runtime セッションをメモリセッションとは別に列挙できるかを検証します。セッションの停止に適した状態情報とともに、その一覧を SDK 経由で公開できれば完了です。

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

評価

技術スタック
aws, python
領域
api, backend
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

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

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