From 61a3ae43b53f78bf90d043c46cdf1884c98f71b3 Mon Sep 17 00:00:00 2001 From: ymq Date: Sun, 9 Aug 2026 16:57:11 +0800 Subject: [PATCH] fix: default action to send_message instead of list_messages --- wwwroot/api/cockpit_chat.dspy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wwwroot/api/cockpit_chat.dspy b/wwwroot/api/cockpit_chat.dspy index 5f0218f..8ad49db 100644 --- a/wwwroot/api/cockpit_chat.dspy +++ b/wwwroot/api/cockpit_chat.dspy @@ -1,7 +1,7 @@ # cockpit_chat.dspy - SDLC Agent Loop v3.1 (streaming NDJSON) import aiohttp -action = (params_kw or {}).get('action', 'list_messages') +action = (params_kw or {}).get('action', 'send_message') # AgentIO sends JSON body without action field — detect from message_text presence if action != 'send_message': p = params_kw or {}