Added mesh agent hex ID to agent server return value

This commit is contained in:
Josiah Baldwin
2025-09-26 14:12:22 -07:00
parent 0e569ae0cb
commit 078e07cb4f
2 changed files with 4 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ def add_agent():
time.sleep(.1)
else:
raise Exception(f"Failed to start agent: {text}")
return {"id": agent_id}
return {"id": agent_id, "hex": agent_hex}
@api.route('/remove-agent/<agentid>', methods=['POST'])
def remove_agent(agentid):