mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-06-01 05:31:14 +08:00
feat: add agent session usage status reporting
Track per-session model and token usage so users can inspect context pressure and cumulative usage with /session_status.
This commit is contained in:
@@ -155,6 +155,12 @@ class Command(metaclass=Singleton):
|
||||
"category": "管理",
|
||||
"data": {},
|
||||
},
|
||||
"/session_status": {
|
||||
"func": MessageChain().remote_session_status,
|
||||
"description": "会话状态",
|
||||
"category": "智能体",
|
||||
"data": {},
|
||||
},
|
||||
"/skills": {
|
||||
"func": SkillsChain().remote_manage,
|
||||
"description": "管理技能",
|
||||
|
||||
Reference in New Issue
Block a user