mirror of
https://github.com/openai/codex.git
synced 2026-05-18 02:02:30 +00:00
Narrow Python SDK root exports
Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -3,8 +3,9 @@
|
||||
Experimental Python SDK for `codex app-server` JSON-RPC v2 over stdio, with a small default surface optimized for real scripts and apps.
|
||||
|
||||
The generated wire-model layer is sourced from the pinned `openai-codex-cli-bin`
|
||||
runtime package and exposed as Pydantic models with snake_case Python fields
|
||||
that serialize back to the app-server’s camelCase wire format.
|
||||
runtime package. The package root exports the supported ergonomic SDK surface
|
||||
plus selected public value types; generated transport modules are shipped for
|
||||
runtime use but are not the supported public API.
|
||||
|
||||
## Install
|
||||
|
||||
@@ -110,4 +111,4 @@ This supports the CI release flow:
|
||||
- Use context managers (`with Codex() as codex:`) to ensure shutdown.
|
||||
- Prefer `thread.run("...")` for the common case. Use `thread.turn(...)` when
|
||||
you need streaming, steering, or interrupt control.
|
||||
- For transient overload, use `codex_app_server.retry.retry_on_overload`.
|
||||
- For transient overload, import `retry_on_overload` from `codex_app_server`.
|
||||
|
||||
Reference in New Issue
Block a user