Fix bedrock replace (#56)

* Fix replace ignoring first output

* Bump version
This commit is contained in:
cybermaggedon 2024-09-05 20:00:38 +01:00 committed by GitHub
parent ddd8cc90e5
commit 3445759598
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 253 additions and 253 deletions

View file

@ -214,7 +214,7 @@ class Processor(ConsumerProducer):
print(outputtext, flush=True)
resp = outputtext.replace("```json", "")
resp = outputtext.replace("```", "")
resp = resp.replace("```", "")
print("Send response...", flush=True)
r = TextCompletionResponse(