[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
cbc3c43655
commit
ea7ae85562
1 changed files with 3 additions and 1 deletions
|
|
@ -598,7 +598,9 @@ async def _run_codex_synthesis(
|
|||
except TypeError:
|
||||
thread = await codex.thread_start()
|
||||
result = await thread.run(synthesis_prompt)
|
||||
return _coerce_text(result) or getattr(result, "final_response", "") or str(result)
|
||||
return (
|
||||
_coerce_text(result) or getattr(result, "final_response", "") or str(result)
|
||||
)
|
||||
except Exception as exc:
|
||||
logger.warning("codex_provider.synthesis_failed", error = str(exc))
|
||||
return ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue