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: custom prompt + ui

Louis Beaumont48d4fc97e40a
diff --git a/screenpipe-app-tauri/components/search-chat.tsx b/screenpipe-app-tauri/components/search-chat.tsx
index 930ef675e..270c4adf2 100644
--- a/screenpipe-app-tauri/components/search-chat.tsx
+++ b/screenpipe-app-tauri/components/search-chat.tsx
@@ -283,7 +283,7 @@ export function SearchChat() {
const response = await queryScreenpipe({
q: query || undefined,
content_type: contentType as "all" | "ocr" | "audio",
- limit,
+ limit: limit * 3, // TODO huge hack
offset: currentOffset,
start_time: startDate.toISOString().replace(/\.\d{3}Z$/, "Z"),
end_time: endDate.toISOString().replace(/\.\d{3}Z$/, "Z"),
@@ -852,6 +852,8 @@ export function SearchChat() {
)}
</AnimatePresence>
+ <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]">
{chatMessages.map((msg, index) => (
diff --git a/screenpipe-app-tauri/lib/hooks/use-settings.tsx b/screenpipe-app-tauri/lib/hooks/use-settings.tsx
index d5ada187c..08f7e11ee 100644
--- a/screenpipe-app-tauri/lib/hooks/use-settings.tsx
+++ b/screenpipe-app-tauri/lib/hooks/use-settings.tsx
@@ -18,11 +18,6 @@ const defaultSettings: Settings = {
- Do not try to embed video in links (e.g. [](.mp4) or https://.mp4) instead put the file_path in a code block using backticks
- Do not put video in multiline code block it will not render the video (e.g. \`\`\`bash\n.mp4\`\`\` IS WRONG) instead using inline code block with single backtick
- Always answer my question/intent, do not make up things
-- Keep in mind “q” argument is used for full text search, use it only if necessary as a mistake can filter out all the data
-- Do not use "q" argument in your queries to screenpipe except if I am asking for specific keyword that would return results
-- If the data your receive is empty (e.g. "data": []), ask me to restart a chat with more specific instructions (e.g. narrow time range, topic, etc.)
-- If I ask a too general question, ask me to narrow down the time range or topic
-- If I ask "show me what i was doing at 10.11 am” make sure to embed a video in the chat at the end using \`/users/video.mp4\`
`,
devMode: false,