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: remove piModels reference in AIPresetsSelector (TS build error)
Louis Beaumont5489758b6c27
diff --git a/apps/screenpipe-app-tauri/components/rewind/ai-presets-selector.tsx b/apps/screenpipe-app-tauri/components/rewind/ai-presets-selector.tsxindex c1e517053..b5e04d66b 100644--- a/apps/screenpipe-app-tauri/components/rewind/ai-presets-selector.tsx+++ b/apps/screenpipe-app-tauri/components/rewind/ai-presets-selector.tsx@@ -1532,13 +1532,6 @@ export const AIPresetsSelector = ({<span className="truncate max-w-[120px]">{preset.model}</span>- {(() => {- const m = piModels.find((pm) => pm.id === preset.model);- if (!m) return null;- const label = m.cost_tier === 'low' ? '$' : m.cost_tier === 'medium' ? '$$' : m.cost_tier === 'high' ? '$$$' : m.cost_tier === 'very_high' ? '$$$$' : m.free ? 'free' : '';- const color = 'text-muted-foreground';- return label ? <span className={`text-[9px] font-medium ${color}`}>{label}</span> : null;- })()}</div><div className="flex items-center gap-1"><Button