mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
Merge pull request #323 from mx1700/feat/stop-command
feat: add /stop command to abort agent generation on external channels
This commit is contained in:
@@ -112,7 +112,8 @@ func NewHandler(
|
||||
// the regular resource-group dispatch (e.g. in the channel inbound
|
||||
// processor which has the required routing context).
|
||||
var topLevelCommands = map[string]string{
|
||||
"new": "Start a new conversation (resets session context)",
|
||||
"new": "Start a new conversation (resets session context)",
|
||||
"stop": "Stop the current generation",
|
||||
}
|
||||
|
||||
// IsCommand reports whether the text contains a slash command.
|
||||
|
||||
Reference in New Issue
Block a user