Fix LLM output reporting (#31)

* Fix LLM output reporting

* Bump version
This commit is contained in:
cybermaggedon 2024-08-23 13:44:42 +01:00 committed by GitHub
parent 1e92b2048a
commit 380bddeb90
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 216 additions and 216 deletions

View file

@ -81,7 +81,7 @@ class Processor(ConsumerProducer):
resp = resp.replace("```", "")
print("Send response...", flush=True)
r = TextCompletionResponse(response=resp)
r = TextCompletionResponse(response=resp, error=None)
self.send(r, properties={"id": id})
print("Done.", flush=True)