mirror of
https://github.com/openai/codex.git
synced 2026-10-29 19:08:43 +00:00
codex: fix CI failures on PR #13096
Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
co-authored by
Codex
parent
61a0323a32
commit
3c072cf30e
@@ -1176,7 +1176,7 @@
|
||||
"description": "The effort the model is putting into reasoning about the user's request."
|
||||
},
|
||||
"rollout_path": {
|
||||
"description": "Path in which the rollout is stored. Can be `None` for ephemeral threads",
|
||||
"description": "Path in which the rollout is stored. Can be `None` for ephemeral threads.",
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
@@ -7276,7 +7276,7 @@
|
||||
"description": "The effort the model is putting into reasoning about the user's request."
|
||||
},
|
||||
"rollout_path": {
|
||||
"description": "Path in which the rollout is stored. Can be `None` for ephemeral threads",
|
||||
"description": "Path in which the rollout is stored. Can be `None` for ephemeral threads.",
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
|
||||
@@ -2527,7 +2527,7 @@
|
||||
"description": "The effort the model is putting into reasoning about the user's request."
|
||||
},
|
||||
"rollout_path": {
|
||||
"description": "Path in which the rollout is stored. Can be `None` for ephemeral threads",
|
||||
"description": "Path in which the rollout is stored. Can be `None` for ephemeral threads.",
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
|
||||
@@ -4337,7 +4337,7 @@
|
||||
"description": "The effort the model is putting into reasoning about the user's request."
|
||||
},
|
||||
"rollout_path": {
|
||||
"description": "Path in which the rollout is stored. Can be `None` for ephemeral threads",
|
||||
"description": "Path in which the rollout is stored. Can be `None` for ephemeral threads.",
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
|
||||
@@ -53,6 +53,6 @@ initial_messages: Array<EventMsg> | null,
|
||||
*/
|
||||
network_proxy?: SessionNetworkProxyRuntime,
|
||||
/**
|
||||
* Path in which the rollout is stored. Can be `None` for ephemeral threads
|
||||
* Path in which the rollout is stored. Can be `None` for ephemeral threads.
|
||||
*/
|
||||
rollout_path: string | null, };
|
||||
|
||||
@@ -585,7 +585,7 @@ mod tests {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
async fn extract_metadata_from_rollout_rejects_unparseable_rollout_with_no_items() {
|
||||
async fn extract_metadata_from_rollout_rejects_unparsable_rollout_with_no_items() {
|
||||
let dir = tempdir().expect("tempdir");
|
||||
let uuid = Uuid::new_v4();
|
||||
let path = dir
|
||||
@@ -597,7 +597,7 @@ mod tests {
|
||||
|
||||
let err = extract_metadata_from_rollout(&path, "openai", None)
|
||||
.await
|
||||
.expect_err("unparseable rollout should fail metadata extraction");
|
||||
.expect_err("unparsable rollout should fail metadata extraction");
|
||||
assert_eq!(
|
||||
err.to_string(),
|
||||
format!(
|
||||
|
||||
@@ -3011,10 +3011,7 @@ pub struct SessionConfiguredEvent {
|
||||
#[ts(optional)]
|
||||
pub network_proxy: Option<SessionNetworkProxyRuntime>,
|
||||
|
||||
/// Path reserved for this rollout. Can be `None` for ephemeral threads.
|
||||
///
|
||||
/// Fresh non-ephemeral sessions may advertise this path before the rollout file has been
|
||||
/// materialized on disk.
|
||||
/// Path in which the rollout is stored. Can be `None` for ephemeral threads.
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub rollout_path: Option<PathBuf>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user