Skip to content

Remove LLM stuff - #1

Merged
saulsmcouk merged 2 commits into
mainfrom
remove-local-llm
Aug 10, 2026
Merged

Remove LLM stuff#1
saulsmcouk merged 2 commits into
mainfrom
remove-local-llm

Conversation

@saulsmcouk

Copy link
Copy Markdown
Collaborator

Removed the local LLM stuff so that activists don't need to download a 2GB model.

@saulsmcouk
saulsmcouk requested a balanced review from Copilot August 10, 2026 19:51

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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:9 importing its Insight type; that file is included by tsconfig.json, so the normal TypeScript build fails with a missing-module error. backend/server.ts:4 has 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.

Comment thread src/ui/onboarding-view.ts
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 thread src/storage/db.ts
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 *)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants