[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
fd8f25f507
commit
4b4c8553f8
2 changed files with 4 additions and 3 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue