[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2026-05-24 15:16:49 +00:00
commit 4b4c8553f8
2 changed files with 4 additions and 3 deletions

View file

@ -784,6 +784,7 @@ async def stream_codex_device_login() -> AsyncGenerator[dict[str, Any], None]:
# Env is scrubbed to the codex safe-list (see codex_availability) so a
# shimmed `codex` on PATH does not inherit other provider secrets.
from core.inference.codex_availability import _codex_subprocess_env
spawn_kwargs: dict[str, Any] = {
"stdout": asyncio.subprocess.PIPE,
"stderr": asyncio.subprocess.STDOUT,

View file

@ -735,9 +735,9 @@ class TestCodexHardenedRegressions:
async def _collect():
async for c in stream_codex(
messages=[{"role": "user", "content": "hi"}],
model="gpt-5.5",
parallel_calls=1,
messages = [{"role": "user", "content": "hi"}],
model = "gpt-5.5",
parallel_calls = 1,
):
chunks.append(c)