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
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
fix: ts
Louis Beaumontfc394dd0f2ba
diff --git a/examples/apps/screenpipe-app-tauri/components/chat-list-openai-v2.tsx b/examples/apps/screenpipe-app-tauri/components/chat-list-openai-v2.tsxindex 725078dab..0ad059fcb 100644--- a/examples/apps/screenpipe-app-tauri/components/chat-list-openai-v2.tsx+++ b/examples/apps/screenpipe-app-tauri/components/chat-list-openai-v2.tsx@@ -81,7 +81,7 @@ export function ChatList({});const userMessage = { id: nanoid(), role: "user", content: inputMessage };- // @ts-expect-error+ // @ts-ignoresetMessages((prevMessages) => [...prevMessages, userMessage]);setInputMessage("");@@ -223,16 +223,16 @@ export function ChatList({- Always use the absolute file path to access videos`,},- // @ts-expect-error+ // @ts-ignore...messages,- // @ts-expect-error+ // @ts-ignore...(text? [{role: "assistant",content: [{- // @ts-expect-error+ // @ts-ignoretoolCallId: text?.toolCalls?.[0]?.toolCallId!,type: "tool-call",toolName: "query_screenpipe",@@ -256,8 +256,9 @@ export function ChatList({]: []),{- // @ts-expect-error+ // @ts-ignorerole: "user",+ // @ts-ignorecontent:messages.findLast((msg) => msg.role === "user")?.content ||inputMessage,@@ -323,10 +324,10 @@ export function ChatList({msg.role === "user" ||(msg.role === "assistant" && typeof msg.content === "string")) {- // @ts-expect-error+ // @ts-ignorereturn <ChatMessage key={index} message={msg} />;} else if (msg.role === "tool") {- // @ts-expect-error+ // @ts-ignorereturn <FunctionCallMessage key={index} message={msg} />;}return null;diff --git a/examples/apps/screenpipe-app-tauri/components/function-call-message.tsx b/examples/apps/screenpipe-app-tauri/components/function-call-message.tsxindex 615d48c34..23332c17c 100644--- a/examples/apps/screenpipe-app-tauri/components/function-call-message.tsx+++ b/examples/apps/screenpipe-app-tauri/components/function-call-message.tsx@@ -37,7 +37,9 @@ export function FunctionCallMessage({ message }: FunctionCallMessageProps) {// Assuming message.content is the array shown in the image// @ts-ignoreconst toolCalls = message.content+ // @ts-ignore.filter((item) => !item.result)+ // @ts-ignore.map((item) => ({type: item.type,toolName: item.toolName,@@ -46,7 +48,9 @@ export function FunctionCallMessage({ message }: FunctionCallMessageProps) {// @ts-ignoreconst toolResults = message.content+ // @ts-ignore.filter((item) => item.result)+ // @ts-ignore.map((item) => ({type: item.type,toolName: item.toolName,diff --git a/examples/apps/screenpipe-app-tauri/src-tauri/Cargo.toml b/examples/apps/screenpipe-app-tauri/src-tauri/Cargo.tomlindex 18df814b6..0b553cff9 100644--- a/examples/apps/screenpipe-app-tauri/src-tauri/Cargo.toml+++ b/examples/apps/screenpipe-app-tauri/src-tauri/Cargo.toml@@ -1,6 +1,6 @@[package]name = "screenpipe-app"-version = "0.1.34"+version = "0.1.35"description = ""authors = ["you"]license = ""