mirror of
https://github.com/openai/codex.git
synced 2026-04-24 14:45:27 +00:00
cleanup
This commit is contained in:
1
codex-rs/Cargo.lock
generated
1
codex-rs/Cargo.lock
generated
@@ -573,7 +573,6 @@ dependencies = [
|
||||
"codex-core",
|
||||
"owo-colors 4.2.0",
|
||||
"rand 0.9.1",
|
||||
"serde",
|
||||
"tokio",
|
||||
"tracing",
|
||||
"tracing-subscriber",
|
||||
|
||||
@@ -25,7 +25,4 @@ tokio = { version = "1", features = [
|
||||
"signal",
|
||||
] }
|
||||
tracing = { version = "0.1.41", features = ["log"] }
|
||||
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
|
||||
|
||||
# For serialising the `Cli` struct into the on-disk session metadata.
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
|
||||
@@ -85,12 +85,10 @@ impl Cli {
|
||||
args.push("--no-ansi".into());
|
||||
}
|
||||
|
||||
// Verbose flag is additive (-v -vv ...).
|
||||
for _ in 0..self.verbose {
|
||||
args.push("-v".into());
|
||||
}
|
||||
|
||||
// Approval + sandbox policies
|
||||
args.push("--ask-for-approval".into());
|
||||
args.push(
|
||||
self.approval_policy
|
||||
@@ -127,7 +125,6 @@ impl Cli {
|
||||
args.push(path.to_string_lossy().into_owned());
|
||||
}
|
||||
|
||||
// Finally positional prompt argument.
|
||||
if let Some(prompt) = &self.prompt {
|
||||
args.push(prompt.clone());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user