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:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -5256,7 +5256,7 @@ export type PatchBotsByBotIdSessionsBySessionIdResponses = {
|
||||
|
||||
export type PatchBotsByBotIdSessionsBySessionIdResponse = PatchBotsByBotIdSessionsBySessionIdResponses[keyof PatchBotsByBotIdSessionsBySessionIdResponses];
|
||||
|
||||
export type GetBotsByBotIdSessionsBySessionIdInfoData = {
|
||||
export type GetBotsByBotIdSessionsBySessionIdStatusData = {
|
||||
body?: never;
|
||||
path: {
|
||||
/**
|
||||
@@ -5274,10 +5274,10 @@ export type GetBotsByBotIdSessionsBySessionIdInfoData = {
|
||||
*/
|
||||
model_id?: string;
|
||||
};
|
||||
url: '/bots/{bot_id}/sessions/{session_id}/info';
|
||||
url: '/bots/{bot_id}/sessions/{session_id}/status';
|
||||
};
|
||||
|
||||
export type GetBotsByBotIdSessionsBySessionIdInfoErrors = {
|
||||
export type GetBotsByBotIdSessionsBySessionIdStatusErrors = {
|
||||
/**
|
||||
* Bad Request
|
||||
*/
|
||||
@@ -5292,16 +5292,16 @@ export type GetBotsByBotIdSessionsBySessionIdInfoErrors = {
|
||||
500: HandlersErrorResponse;
|
||||
};
|
||||
|
||||
export type GetBotsByBotIdSessionsBySessionIdInfoError = GetBotsByBotIdSessionsBySessionIdInfoErrors[keyof GetBotsByBotIdSessionsBySessionIdInfoErrors];
|
||||
export type GetBotsByBotIdSessionsBySessionIdStatusError = GetBotsByBotIdSessionsBySessionIdStatusErrors[keyof GetBotsByBotIdSessionsBySessionIdStatusErrors];
|
||||
|
||||
export type GetBotsByBotIdSessionsBySessionIdInfoResponses = {
|
||||
export type GetBotsByBotIdSessionsBySessionIdStatusResponses = {
|
||||
/**
|
||||
* OK
|
||||
*/
|
||||
200: HandlersSessionInfoResponse;
|
||||
};
|
||||
|
||||
export type GetBotsByBotIdSessionsBySessionIdInfoResponse = GetBotsByBotIdSessionsBySessionIdInfoResponses[keyof GetBotsByBotIdSessionsBySessionIdInfoResponses];
|
||||
export type GetBotsByBotIdSessionsBySessionIdStatusResponse = GetBotsByBotIdSessionsBySessionIdStatusResponses[keyof GetBotsByBotIdSessionsBySessionIdStatusResponses];
|
||||
|
||||
export type DeleteBotsByBotIdSettingsData = {
|
||||
body?: never;
|
||||
|
||||
Reference in New Issue
Block a user