Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

feat(ai-presets): default ChatGPT preset to gpt-5.5 (was gpt-5.4)

Louis Beaumont6174f4bf7836
diff --git a/apps/screenpipe-app-tauri/components/rewind/ai-presets-selector.tsx b/apps/screenpipe-app-tauri/components/rewind/ai-presets-selector.tsx
index 2970e5c94..a75912007 100644
--- a/apps/screenpipe-app-tauri/components/rewind/ai-presets-selector.tsx
+++ b/apps/screenpipe-app-tauri/components/rewind/ai-presets-selector.tsx
@@ -509,7 +509,7 @@ export function AIProviderConfig({
...formData,
provider: "openai-chatgpt",
url: "https://api.openai.com/v1",
- model: "gpt-5.4",
+ model: "gpt-5.5",
});
}}
>
@@ -768,7 +768,7 @@ export function AIProviderConfig({
id="model"
type="text"
list="chatgpt-models"
- placeholder="gpt-5.4"
+ placeholder="gpt-5.5"
value={formData.model || ""}
onChange={(e) =>
setFormData({ ...formData, model: e.target.value })
diff --git a/apps/screenpipe-app-tauri/components/settings/ai-presets.tsx b/apps/screenpipe-app-tauri/components/settings/ai-presets.tsx
index 5973273e5..a8340b353 100644
--- a/apps/screenpipe-app-tauri/components/settings/ai-presets.tsx
+++ b/apps/screenpipe-app-tauri/components/settings/ai-presets.tsx
@@ -541,7 +541,7 @@ const AISection = ({
break;
case "openai-chatgpt":
newUrl = "https://api.openai.com/v1";
- newModel = "gpt-5.4";
+ newModel = "gpt-5.5";
break;
case "anthropic":
newUrl = "https://api.anthropic.com";
diff --git a/apps/screenpipe-app-tauri/lib/utils/chatgpt-preset.ts b/apps/screenpipe-app-tauri/lib/utils/chatgpt-preset.ts
index e435ada80..f6be4e866 100644
--- a/apps/screenpipe-app-tauri/lib/utils/chatgpt-preset.ts
+++ b/apps/screenpipe-app-tauri/lib/utils/chatgpt-preset.ts
@@ -5,7 +5,7 @@
import { commands, type AIPreset } from "@/lib/utils/tauri";
// preferred models in priority order (latest/best first)
-const PREFERRED_MODELS = ["gpt-5.4", "gpt-4.1", "gpt-4.5", "gpt-4o", "gpt-4"];
+const PREFERRED_MODELS = ["gpt-5.5", "gpt-5.4", "gpt-4.1", "gpt-4.5", "gpt-4o", "gpt-4"];
function pickBestModel(models: string[]): string {
for (const preferred of PREFERRED_MODELS) {
@@ -14,7 +14,7 @@ function pickBestModel(models: string[]): string {
}
// fallback: first model containing "gpt-4" or just the first model
return (
- models.find((m) => m.includes("gpt-4")) || models[0] || "gpt-5.4"
+ models.find((m) => m.includes("gpt-4")) || models[0] || "gpt-5.5"
);
}
@@ -32,7 +32,7 @@ export async function ensureChatGptPreset(
if (hasChatGptPreset) return null;
// fetch available models
- let model = "gpt-5.4";
+ let model = "gpt-5.5";
try {
const res = await commands.chatgptOauthModels();
if (res.status === "ok" && res.data.length > 0) {
diff --git a/crates/screenpipe-db/tests/suggestions_frames_table_test.rs b/crates/screenpipe-db/tests/suggestions_frames_table_test.rs
index 4c7531afb..4fd0cb51f 100644
--- a/crates/screenpipe-db/tests/suggestions_frames_table_test.rs
+++ b/crates/screenpipe-db/tests/suggestions_frames_table_test.rs
@@ -53,7 +53,10 @@ mod tests {
assert!(result.is_ok(), "Query should succeed");
let rows = result.unwrap();
- assert!(!rows.is_empty(), "Should find at least one frame with full_text");
+ assert!(
+ !rows.is_empty(),
+ "Should find at least one frame with full_text"
+ );
assert_eq!(rows[0].0, "Chrome");
assert_eq!(rows[0].1, "Test Window");
assert!(rows[0].2.contains("Sample accessibility text"));
@@ -94,7 +97,10 @@ mod tests {
assert!(result.is_ok(), "Count query should succeed");
let rows = result.unwrap();
assert!(!rows.is_empty(), "Should have at least one result row");
- assert_eq!(rows[0].0, 1, "Should count exactly one frame with full_text");
+ assert_eq!(
+ rows[0].0, 1,
+ "Should count exactly one frame with full_text"
+ );
}
/// Verify that the 'accessibility' table doesn't exist anymore