Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions veadk/runtime/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ def get_runtime(name: str) -> BaseRuntime:
except ModuleNotFoundError as e:
raise ImportError(
f"The 'codex' runtime requires extra dependencies (missing: {e.name}). "
"Install the Codex binary and the codex_app_server SDK, plus: "
"pip install fastapi uvicorn"
"Install them with: pip install openai-codex fastapi uvicorn "
"(openai-codex bundles the Codex binary via openai-codex-cli-bin)."
) from e

return CodexRuntime()
Expand Down
5 changes: 3 additions & 2 deletions veadk/runtime/codex/runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
- Codex only speaks the Responses API, so requests are routed through an
in-process Responses→chat shim (see :mod:`veadk.runtime.codex.proxy`).

Note: this requires the Codex binary on PATH and the ``codex_app_server`` SDK.
Note: this requires the ``openai-codex`` SDK (``pip install openai-codex``),
which bundles the Codex CLI binary via its ``openai-codex-cli-bin`` dependency.
"""

from __future__ import annotations
Expand All @@ -37,7 +38,7 @@
import tempfile
from typing import TYPE_CHECKING, AsyncGenerator

from codex_app_server import AsyncCodex # type: ignore[import-not-found]
from openai_codex import AsyncCodex # type: ignore[import-not-found]

from veadk.runtime.base_runtime import BaseRuntime, build_system_append
from veadk.runtime.codex.proxy import get_shim_url
Expand Down
Loading