Skip to content

The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.

fix(integ): C60 next to P-L: the web address gate is a one-way catalog entry, download_model keeps eight arguments

purple223943b815f1
diff --git a/src-tauri/src/commands/download.rs b/src-tauri/src/commands/download.rs
index 2c8dac61..465c7c63 100644
--- a/src-tauri/src/commands/download.rs
+++ b/src-tauri/src/commands/download.rs
@@ -1178,7 +1178,9 @@ mod chat_download_tests {
}
}
-#[allow(non_snake_case)]
+// Eight arguments since C60's chatOrigin; a Tauri command takes them flat
+// from the frontend's object, so they stay arguments.
+#[allow(non_snake_case, clippy::too_many_arguments)]
#[tauri::command]
pub async fn download_model(
url: String,
diff --git a/src/lib/settings-catalog.ts b/src/lib/settings-catalog.ts
index cbfacee7..1a91558d 100644
--- a/src/lib/settings-catalog.ts
+++ b/src/lib/settings-catalog.ts
@@ -330,6 +330,7 @@ export const CATALOG: readonly CatalogEntry[] = [
}),
e('webStrictUrls', 'Ask before unknown web addresses', 'agent', 'Web tools ask before opening an address that neither you nor a web result gave.', bool(), {
allowed: 'on (off only by hand)', safe: (v) => v === true, safeWhy: 'Turning the question off is the user\'s choice',
+ lockOverride: 'One way only, towards asking before a web address the model made up.',
}),
e('codexCloudConfirmOptIn', 'Ask before cloud commands', 'agent', 'Ask before a cloud model runs a command.', bool(), {
allowed: 'on (off only by hand)', safe: (v) => v === true, safeWhy: 'Turning the question off is the user\'s choice',