mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
feat: rename info to status, add /status slash command
Rename session info endpoint from /sessions/:id/info to /sessions/:id/status and update frontend tab label accordingly. Add /status slash command that displays current session metrics (message count, context usage, cache hit rate, used skills) as formatted text in any channel.
This commit is contained in:
+1
-1
@@ -4395,7 +4395,7 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"/bots/{bot_id}/sessions/{session_id}/info": {
|
||||
"/bots/{bot_id}/sessions/{session_id}/status": {
|
||||
"get": {
|
||||
"description": "Get aggregated info for a chat session including message count, context usage, cache stats, and used skills",
|
||||
"tags": [
|
||||
|
||||
+1
-1
@@ -4386,7 +4386,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/bots/{bot_id}/sessions/{session_id}/info": {
|
||||
"/bots/{bot_id}/sessions/{session_id}/status": {
|
||||
"get": {
|
||||
"description": "Get aggregated info for a chat session including message count, context usage, cache stats, and used skills",
|
||||
"tags": [
|
||||
|
||||
+1
-1
@@ -5686,7 +5686,7 @@ paths:
|
||||
summary: Update a session
|
||||
tags:
|
||||
- sessions
|
||||
/bots/{bot_id}/sessions/{session_id}/info:
|
||||
/bots/{bot_id}/sessions/{session_id}/status:
|
||||
get:
|
||||
description: Get aggregated info for a chat session including message count,
|
||||
context usage, cache stats, and used skills
|
||||
|
||||
Reference in New Issue
Block a user