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

fix: accept short API keys for custom providers (e.g. Ollama)

Louis Beaumont36f642c56aec
diff --git a/apps/screenpipe-app-tauri/lib/utils/validation.ts b/apps/screenpipe-app-tauri/lib/utils/validation.ts
index 42b284294..d77081ded 100644
--- a/apps/screenpipe-app-tauri/lib/utils/validation.ts
+++ b/apps/screenpipe-app-tauri/lib/utils/validation.ts
@@ -293,9 +293,7 @@ export const validateApiKey = (apiKey: string, provider: AIProviderType): FieldV
}
break;
case "custom":
- if (apiKey.length < 10) {
- return { isValid: false, error: "API key seems too short" };
- }
+ // No length check — local providers (e.g. Ollama) use short keys
break;
}