mirror of
https://github.com/openai/codex.git
synced 2026-11-15 21:50:46 +00:00
feat: support the chat completions API in the Rust CLI
This commit is contained in:
@@ -90,7 +90,9 @@ async fn keeps_previous_response_id_between_tasks() {
|
||||
// Environment variable that should exist in the test environment.
|
||||
// ModelClient will return an error if the environment variable for the
|
||||
// provider is not set.
|
||||
env_key: "PATH".into(),
|
||||
env_key: Some("PATH".into()),
|
||||
env_key_instructions: None,
|
||||
wire_api: codex_core::WireApi::Responses,
|
||||
};
|
||||
|
||||
// Init session
|
||||
|
||||
@@ -80,7 +80,9 @@ async fn retries_on_early_close() {
|
||||
// Environment variable that should exist in the test environment.
|
||||
// ModelClient will return an error if the environment variable for the
|
||||
// provider is not set.
|
||||
env_key: "PATH".into(),
|
||||
env_key: Some("PATH".into()),
|
||||
env_key_instructions: None,
|
||||
wire_api: codex_core::WireApi::Responses,
|
||||
};
|
||||
|
||||
let ctrl_c = std::sync::Arc::new(tokio::sync::Notify::new());
|
||||
|
||||
Reference in New Issue
Block a user