aws / aws/bedrock-agentcore-sdk-python
List active *runtime* sessions through the SDK
- Ngôn ngữ chính
- Python
- Star
- 764
- Fork
- 148
- Merge trung bình
- 1 ngày 23 giờ
- Pull request đã merge (30 ngày)
- 7
Mô tả
**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.
Hướng dẫn đóng góp
Hướng nghiên cứu
Không có tệp hoặc bài kiểm thử nào được nêu tên. Bắt đầu với điểm vào SDK cho stop_runtime_session và API dịch vụ runtime underlying, sau đó xác minh xem các phiên runtime đang hoạt động có thể được liệt kê riêng khỏi các phiên bộ nhớ hay không; được xem là hoàn tất khi danh sách đó được cung cấp qua SDK cùng với thông tin trạng thái phù hợp để dừng các phiên.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- aws, python
- Lĩnh vực
- api, backend
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100