feat(chat): Enhance session management with new API endpoints and filtering options
- Added `status` query parameter to `list_sessions_api` for filtering sessions by their status (active/closed). - Introduced `close_all_sessions_api` endpoint to allow users to close all active sessions for the current actor. - Updated `SessionRepository` to support status filtering in session listing and implemented logic for closing active sessions. - Improved Redis connection settings for better performance and reliability. This update enhances the chat functionality by providing more control over session management, improving user experience and system efficiency.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
风控专员 Demo <code>STAFF-30001</code> 带 <code>risk_officer</code> + <code>risk_demo</code> 角色:
|
||||
能看预警台账、处置、跑 AML 扫描,还能在模拟交易页触发规则引擎。
|
||||
本地登录页一键切换,改 JWT 角色后需<strong>重新登录</strong>。
|
||||
仓库基线 <code>merger</code> · <code>python -m pytest</code> → <strong>795 passed</strong>。
|
||||
仓库基线 <code>merger</code> · <code>python -m pytest</code> → <strong>804 passed</strong>。
|
||||
</p>
|
||||
|
||||
<div class="screen animate-in">
|
||||
|
||||
Reference in New Issue
Block a user