From 12c15060e7266bf53d5879a9e6f7f581de8e808e Mon Sep 17 00:00:00 2001 From: "info@mode42.com" Date: Sun, 9 Aug 2026 14:56:03 +0000 Subject: /aichat with openrouter.ai support now included --- src/core/command.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/core/command.c') diff --git a/src/core/command.c b/src/core/command.c index 44485c7..f33ad04 100644 --- a/src/core/command.c +++ b/src/core/command.c @@ -18,6 +18,7 @@ #include "hybbx/password.h" #include "hybbx/traffic.h" #include "hybbx/monitor.h" +#include "hybbx/aichat.h" #include "hybbx/util.h" #include @@ -2448,6 +2449,10 @@ hybbx_result_t hybbx_command_dispatch(hybbx_service_t *service, return cmd_broadcast(service, session, cmd); } + if (str_ieq(cmd->verb, "aichat") || str_ieq(cmd->verb, "ai") || str_ieq(cmd->verb, "ask")) { + return cmd_aichat(service, session, cmd); + } + if (str_ieq(cmd->verb, "shutdown")) { return cmd_shutdown(service, session); } -- cgit v1.3.1