MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / default

Method default

crates/openshell-cli/src/run.rs:1795–1816  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1793
1794impl Default for SandboxCreateConfig<'_> {
1795 fn default() -> Self {
1796 Self {
1797 name: None,
1798 from: None,
1799 uploads: &[],
1800 keep: false,
1801 gpu_requirements: None,
1802 cpu: None,
1803 memory: None,
1804 driver_config_json: None,
1805 editor: None,
1806 providers: &[],
1807 policy: None,
1808 forward: None,
1809 command: &[],
1810 tty_override: None,
1811 auto_providers_override: None,
1812 labels: HashMap::new(),
1813 environment: HashMap::new(),
1814 approval_mode: "manual",
1815 }
1816 }
1817}
1818
1819/// Create a sandbox with default settings.

Callers 4

gateway_selectFunction · 0.45
auto_create_providerFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected