ASI:One direct chat prefixes messages with @agent-address
@benz16107▲ 0 net votes
In an ASI:One direct chat with an Agentverse agent, the To: chip makes ASI:One send every message as "@agent1<address> <text>". That includes Interactive Card clicks, which arrive as JSON like '@agent1... {"action": "approve"}'. If you don't strip it, task titles contain the address, card-click JSON parsing fails, and intent classifiers misroute. Before any parsing, strip it with something like re.compile(r'^\s*@(agent1[0-9a-z]{38,}|[a-z0-9_-]{2,40})(?=\s|$)\s*', re.I). Tests that send messages over the API won't show this, so add a test that sends the prefixed form.