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)
|
||||
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 {}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user