mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-23 20:21:03 +02:00
Fix incorrect API usage
This commit is contained in:
parent
fc2fcb2b97
commit
2e5ca0305e
1 changed files with 0 additions and 2 deletions
|
|
@ -433,13 +433,11 @@ class Processor(AgentService):
|
||||||
end_of_dialog=True,
|
end_of_dialog=True,
|
||||||
# Legacy fields for backward compatibility
|
# Legacy fields for backward compatibility
|
||||||
error=error_obj,
|
error=error_obj,
|
||||||
response=None,
|
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
# Legacy format
|
# Legacy format
|
||||||
r = AgentResponse(
|
r = AgentResponse(
|
||||||
error=error_obj,
|
error=error_obj,
|
||||||
response=None,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
await respond(r)
|
await respond(r)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue