mirror of
https://github.com/Paillat-dev/viralfactory.git
synced 2026-01-02 01:06:19 +00:00
💡 Update comment
This commit is contained in:
@@ -61,9 +61,9 @@ class AnthropicLLMEngine(BaseLLMEngine):
|
|||||||
returnable = fix_busted_json.repair_json(content)
|
returnable = fix_busted_json.repair_json(content)
|
||||||
returnable = orjson.loads(returnable)
|
returnable = orjson.loads(returnable)
|
||||||
return returnable
|
return returnable
|
||||||
except (
|
except ( # noqa wait for library to imlement pep https://peps.python.org/pep-0352/ (Required Superclass for Exceptions
|
||||||
Exception
|
Exception
|
||||||
) as e: # noqa wait for library to imlement pep https://peps.python.org/pep-0352/ (Required Superclass for Exceptions
|
) as e:
|
||||||
tries += 1
|
tries += 1
|
||||||
else:
|
else:
|
||||||
return content
|
return content
|
||||||
|
|||||||
Reference in New Issue
Block a user