fix: default action to send_message instead of list_messages
This commit is contained in:
parent
d46ab14e12
commit
61a3ae43b5
@ -1,7 +1,7 @@
|
|||||||
# cockpit_chat.dspy - SDLC Agent Loop v3.1 (streaming NDJSON)
|
# cockpit_chat.dspy - SDLC Agent Loop v3.1 (streaming NDJSON)
|
||||||
import aiohttp
|
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
|
# AgentIO sends JSON body without action field — detect from message_text presence
|
||||||
if action != 'send_message':
|
if action != 'send_message':
|
||||||
p = params_kw or {}
|
p = params_kw or {}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user