mirror of
https://github.com/openai/codex.git
synced 2026-10-18 17:18:52 +00:00
Prepare Python SDK 0.147.0 stable release (#39155)
## What changed - Pin `openai-codex` to the `0.147.0` CLI runtime and regenerate its protocol models and lockfile. - Allow stable Python SDK release tags and require their versions to match the pinned runtime. - Expose the regenerated API additions, including thread sections, environment connection notifications, audio inputs, and the `section_id` thread-list filter. ## Testing - Update release staging, generated-contract, notification, and public-signature coverage for the new runtime. GitOrigin-RevId: 8b99ef6781e01c34d9d697c8c44247fb4e4fe3ab
This commit is contained in:
@@ -96,6 +96,7 @@ def test_run_params_and_usage_cross_app_server_boundary(tmp_path) -> None:
|
||||
"request_model": "mock-model-override",
|
||||
"usage": {
|
||||
"last": {
|
||||
"cacheWriteInputTokens": 0,
|
||||
"cachedInputTokens": 3,
|
||||
"inputTokens": 11,
|
||||
"outputTokens": 7,
|
||||
@@ -103,6 +104,7 @@ def test_run_params_and_usage_cross_app_server_boundary(tmp_path) -> None:
|
||||
"totalTokens": 18,
|
||||
},
|
||||
"total": {
|
||||
"cacheWriteInputTokens": 0,
|
||||
"cachedInputTokens": 3,
|
||||
"inputTokens": 11,
|
||||
"outputTokens": 7,
|
||||
|
||||
Reference in New Issue
Block a user