[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
6403846bbe
commit
c716af442f
1 changed files with 2 additions and 0 deletions
|
|
@ -155,6 +155,7 @@ def _sdk_importable() -> bool:
|
|||
"""
|
||||
try:
|
||||
from core.inference import codex_spoof
|
||||
|
||||
if codex_spoof.is_spoof_enabled():
|
||||
return True
|
||||
except Exception:
|
||||
|
|
@ -357,6 +358,7 @@ async def probe_codex_availability() -> dict[str, Any]:
|
|||
spoof_active = False
|
||||
try:
|
||||
from core.inference import codex_spoof
|
||||
|
||||
spoof_active = codex_spoof.is_spoof_enabled()
|
||||
except Exception:
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue