Fix incorrect API usage

This commit is contained in:
Cyber MacGeddon 2025-12-17 17:42:39 +00:00
parent fc2fcb2b97
commit 2e5ca0305e

View file

@ -433,13 +433,11 @@ class Processor(AgentService):
end_of_dialog=True,
# Legacy fields for backward compatibility
error=error_obj,
response=None,
)
else:
# Legacy format
r = AgentResponse(
error=error_obj,
response=None,
)
await respond(r)