Remove LLM stuff - #1
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Removes local LLM insight extraction and its multi-gigabyte model requirement, leaving on-device transcription and redaction.
Changes:
- Removes WebLLM integration, insight UI, and model download flows.
- Migrates IndexedDB away from stored insights.
- Updates documentation, styling, and dependencies.
Reviewed changes
Copilot reviewed 15 out of 16 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
.claude/settings.local.json |
Adds local agent permissions. |
PLAN.md |
Revises architecture and roadmap. |
README.md |
Removes LLM feature documentation. |
package-lock.json |
Removes WebLLM packages. |
package.json |
Removes the WebLLM dependency. |
src/llm/extractor.ts |
Deletes insight extraction implementation. |
src/pipeline.ts |
Removes extraction orchestration. |
src/privacy/redact.ts |
Updates redaction documentation. |
src/storage/db.ts |
Removes insight storage and adds migration. |
src/styles.css |
Removes insight-specific styles. |
src/ui/app.ts |
Updates detail-view construction. |
src/ui/onboarding-view.ts |
Removes LLM onboarding UI. |
src/ui/session-detail-view.ts |
Removes analysis controls and insights. |
src/ui/sessions-view.ts |
Removes insight summaries and tags. |
src/ui/setup-view.ts |
Removes LLM setup controls. |
vite.config.ts |
Updates PWA text and caching comments. |
Suppressed comments (1)
src/llm/extractor.ts:1
- Deleting this module leaves
src/email/notify.ts:9importing itsInsighttype; that file is included bytsconfig.json, so the normal TypeScript build fails with a missing-module error.backend/server.ts:4has the same dangling import for the backend. Remove or redesign those insight-notification APIs before deleting the module.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| if (this.step !== 'download') return; | ||
| const emailValid = EMAIL_PATTERN.test(this.emailInput.value.trim()); | ||
| this.finishBtn.disabled = !(this.whisperDone && this.llmDone && emailValid); | ||
| this.finishBtn.disabled = !(this.whisperDone && emailValid); |
Comment on lines
+100
to
+103
| // v3: drop the legacy on-device LLM insights store. | ||
| if (oldVersion < 3 && database.objectStoreNames.contains('insights' as never)) { | ||
| database.deleteObjectStore('insights' as never); | ||
| } |
Comment on lines
+3
to
+7
| "allow": [ | ||
| "Bash(git checkout *)", | ||
| "Bash(npm install *)", | ||
| "Bash(npm run *)", | ||
| "Bash(npm test *)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removed the local LLM stuff so that activists don't need to download a 2GB model.