feat: add telegram /model and /reasoning overrides (#147)

This commit is contained in:
banteg
2026-01-16 00:40:26 +04:00
committed by GitHub
parent e0826ed18c
commit 155043497b
20 changed files with 1435 additions and 28 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ _ID_RE = re.compile(ID_PATTERN)
RESERVED_CLI_COMMANDS = frozenset({"init", "plugins", "doctor"})
RESERVED_CHAT_COMMANDS = frozenset(
{"cancel", "file", "new", "agent", "trigger", "topic", "ctx"}
{"cancel", "file", "new", "agent", "model", "reasoning", "trigger", "topic", "ctx"}
)
RESERVED_ENGINE_IDS = RESERVED_CLI_COMMANDS | RESERVED_CHAT_COMMANDS
RESERVED_COMMAND_IDS = RESERVED_CLI_COMMANDS | RESERVED_CHAT_COMMANDS