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 pipes cloud

Louis Beaumont832b2487f04a
diff --git a/pipes/identify-speakers/src/components/meeting-history.tsx b/pipes/identify-speakers/src/components/meeting-history.tsx
index 2551453ec..a2c98aba5 100644
--- a/pipes/identify-speakers/src/components/meeting-history.tsx
+++ b/pipes/identify-speakers/src/components/meeting-history.tsx
@@ -240,7 +240,10 @@ export default function MeetingHistory({
try {
const openai = new OpenAI({
- apiKey: settings.openaiApiKey,
+ apiKey:
+ settings.aiProviderType === "screenpipe-cloud"
+ ? settings.user.token
+ : settings.openaiApiKey,
baseURL: settings.aiUrl,
dangerouslyAllowBrowser: true,
});
diff --git a/pipes/search/src/components/search-chat.tsx b/pipes/search/src/components/search-chat.tsx
index 6d853bd28..da271a400 100644
--- a/pipes/search/src/components/search-chat.tsx
+++ b/pipes/search/src/components/search-chat.tsx
@@ -622,7 +622,10 @@ export function SearchChat() {
try {
const openai = new OpenAI({
- apiKey: settings.openaiApiKey,
+ apiKey:
+ settings.aiProviderType === "screenpipe-cloud"
+ ? settings.user.token
+ : settings.openaiApiKey,
baseURL: settings.aiUrl,
dangerouslyAllowBrowser: true,
});
diff --git a/pipes/timeline/bun.lockb b/pipes/timeline/bun.lockb
index 6927ae9f3..02fc5f98a 100755
Binary files a/pipes/timeline/bun.lockb and b/pipes/timeline/bun.lockb differ
diff --git a/pipes/timeline/src/components/timeline/ai-panel.tsx b/pipes/timeline/src/components/timeline/ai-panel.tsx
index 5a84e6ac8..ff88b3711 100644
--- a/pipes/timeline/src/components/timeline/ai-panel.tsx
+++ b/pipes/timeline/src/components/timeline/ai-panel.tsx
@@ -171,7 +171,10 @@ export function AIPanel({
});
const openai = new OpenAI({
- apiKey: settings.openaiApiKey,
+ apiKey:
+ settings.aiProviderType === "screenpipe-cloud"
+ ? settings.user.token
+ : settings.openaiApiKey,
baseURL: settings.aiUrl,
dangerouslyAllowBrowser: true,
});
diff --git a/screenpipe-app-tauri/components/settings/ai-section.tsx b/screenpipe-app-tauri/components/settings/ai-section.tsx
index 998016c3e..3361dc9af 100644
--- a/screenpipe-app-tauri/components/settings/ai-section.tsx
+++ b/screenpipe-app-tauri/components/settings/ai-section.tsx
@@ -293,7 +293,7 @@ const AISection = () => {
"llama3.1:405B",
];
case "screenpipe-cloud":
- return ["gpt-4o", "gpt-4o-mini"];
+ return ["gpt-4o", "gpt-4o-mini", "o1-mini", "o1", "claude-3-5-sonnet-latest"];
case "openai":
return ["gpt-4o", "gpt-4o-mini", "o1-mini", "o1"];
default: