cli: add missing agent action parameters to argument extraction
- Add agent, message, to, and content parameters to handle_agent_action kwargs extraction - Fixes agent communication commands that require these parameters (send, receive, broadcast)
This commit is contained in:
@@ -637,7 +637,7 @@ def run_cli(argv, core):
|
||||
|
||||
def handle_agent_action(args):
|
||||
kwargs = {}
|
||||
for name in ("name", "description", "verification", "max_execution_time", "max_cost_budget", "input_data", "wallet", "priority", "execution_id", "status"):
|
||||
for name in ("name", "description", "verification", "max_execution_time", "max_cost_budget", "input_data", "wallet", "priority", "execution_id", "status", "agent", "message", "to", "content"):
|
||||
value = getattr(args, name, None)
|
||||
if value not in (None, "", False):
|
||||
kwargs[name] = value
|
||||
|
||||
Reference in New Issue
Block a user