💡 Update comment

This commit is contained in:
2024-04-22 10:34:55 +02:00
parent 51614d3562
commit 3b03b86ccc

View File

@@ -61,9 +61,9 @@ class AnthropicLLMEngine(BaseLLMEngine):
returnable = fix_busted_json.repair_json(content)
returnable = orjson.loads(returnable)
return returnable
except (
except ( # noqa wait for library to imlement pep https://peps.python.org/pep-0352/ (Required Superclass for Exceptions
Exception
) as e: # noqa wait for library to imlement pep https://peps.python.org/pep-0352/ (Required Superclass for Exceptions
) as e:
tries += 1
else:
return content