Merge branch 'feat/codex-provider' of https://github.com/unslothai/unsloth into feat/codex-provider
This commit is contained in:
commit
67b837e9f1
2 changed files with 4 additions and 3 deletions
|
|
@ -850,6 +850,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,
|
||||
|
|
|
|||
|
|
@ -732,9 +732,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