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 ui chat

Louis Beaumont7f31b627347c
diff --git a/screenpipe-app-tauri/components/chat-message-v2.tsx b/screenpipe-app-tauri/components/chat-message-v2.tsx
index 01750c589..f7630194d 100644
--- a/screenpipe-app-tauri/components/chat-message-v2.tsx
+++ b/screenpipe-app-tauri/components/chat-message-v2.tsx
@@ -35,7 +35,7 @@ export function ChatMessage({ message, ...props }: ChatMessageProps) {
>
{message.role === "user" ? (
<IconUser />
- ) : settings.useOllama ? (
+ ) : !settings.aiUrl.includes("openai") ? (
<>🦙</>
) : (
<IconOpenAI />
diff --git a/screenpipe-app-tauri/components/search-chat.tsx b/screenpipe-app-tauri/components/search-chat.tsx
index 4b3775acf..755650ed4 100644
--- a/screenpipe-app-tauri/components/search-chat.tsx
+++ b/screenpipe-app-tauri/components/search-chat.tsx
@@ -187,6 +187,7 @@ export function SearchChat() {
baseURL: settings.aiUrl,
dangerouslyAllowBrowser: true,
});
+ console.log("openai", settings.openaiApiKey, settings.aiUrl);
const model = settings.aiModel;
const customPrompt = settings.customPrompt || "";
@@ -855,7 +856,7 @@ export function SearchChat() {
<Separator className="my-8" />
{/* Display chat messages */}
- <div className="flex flex-col items-start flex-1 max-w-2xl gap-8 px-4 mx-auto overflow-y-auto max-h-[600px]">
+ <div className="flex flex-col items-start flex-1 max-w-2xl gap-8 px-4 mx-auto ">
{chatMessages.map((msg, index) => (
<ChatMessage key={index} message={msg} />
))}
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.toml
index 968f6c9ec..44a8d6f47 100644
--- a/screenpipe-app-tauri/src-tauri/Cargo.toml
+++ b/screenpipe-app-tauri/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "screenpipe-app"
-version = "0.2.3"
+version = "0.2.31"
description = ""
authors = ["you"]
license = ""