mirror of
https://github.com/openai/codex.git
synced 2026-11-10 21:00:47 +00:00
Fix argument comment lint failures
This commit is contained in:
@@ -422,7 +422,8 @@ impl CodexMessageProcessor {
|
||||
}
|
||||
|
||||
pub(crate) fn clear_runtime_references(&self) {
|
||||
self.thread_manager.set_delegated_model_transport(None);
|
||||
self.thread_manager
|
||||
.set_delegated_model_transport(/*transport*/ None);
|
||||
}
|
||||
|
||||
pub(crate) fn clear_plugin_related_caches(&self) {
|
||||
|
||||
@@ -251,15 +251,15 @@ async fn run_command_under_sandbox(
|
||||
&config.permissions.file_system_sandbox_policy,
|
||||
config.permissions.network_sandbox_policy,
|
||||
sandbox_policy_cwd.as_path(),
|
||||
false,
|
||||
/*enforce_managed_network*/ false,
|
||||
network.as_ref(),
|
||||
None,
|
||||
/*extensions*/ None,
|
||||
);
|
||||
let network_policy = config.permissions.network_sandbox_policy;
|
||||
spawn_debug_sandbox_child(
|
||||
PathBuf::from("/usr/bin/sandbox-exec"),
|
||||
args,
|
||||
None,
|
||||
/*arg0*/ None,
|
||||
cwd,
|
||||
network_policy,
|
||||
env,
|
||||
|
||||
@@ -1007,7 +1007,11 @@ impl ModelClientSession {
|
||||
};
|
||||
|
||||
let request = self.build_responses_request(
|
||||
&self.client.state.provider.to_api_provider(None)?,
|
||||
&self
|
||||
.client
|
||||
.state
|
||||
.provider
|
||||
.to_api_provider(/*auth_mode*/ None)?,
|
||||
prompt,
|
||||
model_info,
|
||||
effort,
|
||||
|
||||
Reference in New Issue
Block a user