mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-01 07:13:00 +00:00
style: fix ruff formatting in converter.py
Co-Authored-By: João <joao@crewai.com>
This commit is contained in:
@@ -589,7 +589,9 @@ async def aconvert_with_instructions(
|
|||||||
instructions=instructions,
|
instructions=instructions,
|
||||||
)
|
)
|
||||||
exported_result = (
|
exported_result = (
|
||||||
await converter.ato_pydantic() if not is_json_output else await converter.ato_json()
|
await converter.ato_pydantic()
|
||||||
|
if not is_json_output
|
||||||
|
else await converter.ato_json()
|
||||||
)
|
)
|
||||||
|
|
||||||
if isinstance(exported_result, ConverterError):
|
if isinstance(exported_result, ConverterError):
|
||||||
|
|||||||
Reference in New Issue
Block a user