mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-24 04:31:02 +02:00
Fixed an invalid response check
This commit is contained in:
parent
aba65e9d44
commit
a239564826
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ class MessageDispatcher:
|
||||||
)
|
)
|
||||||
|
|
||||||
# Get the response from the responder
|
# Get the response from the responder
|
||||||
if responder.completed and responder.response:
|
if responder.completed:
|
||||||
response_data = responder.response
|
response_data = responder.response
|
||||||
else:
|
else:
|
||||||
response_data = {'error': 'No response received'}
|
response_data = {'error': 'No response received'}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue