Commit graph

262 commits

Author SHA1 Message Date
CREDO23
5bf2734e8c add migration to clean up Electric SQL artifacts 2026-03-24 17:19:07 +02:00
CREDO23
4efb4fab4b fix: make migration 107 idempotent for video_presentations table
Check information_schema before creating table to avoid
DuplicateTableError when table already exists from model metadata.
Original op.create_table preserved exactly, only skipped if exists.
2026-03-23 20:27:09 +02:00
CREDO23
29b9cc814f fix: make migration 104 idempotent with if_not_exists on index creation
The notification composite indexes may already exist from the model's
__table_args__, causing DuplicateTableError on fresh migrations.
2026-03-23 20:22:48 +02:00
CREDO23
2b7465cdaa chore: remove Electric SQL plumbing and infrastructure
Remove all Electric SQL client code, Docker service, env vars, CI build
args, install scripts, and documentation. Feature hooks that depend on
Electric are intentionally left in place to be rewritten with Rocicorp
Zero in subsequent commits.

Deleted:
- lib/electric/ (client.ts, context.ts, auth.ts, baseline.ts)
- ElectricProvider.tsx
- docker/scripts/init-electric-user.sh
- content/docs/how-to/electric-sql.mdx

Cleaned:
- package.json (4 @electric-sql/* deps)
- app/layout.tsx, UserDropdown.tsx, LayoutDataProvider.tsx
- docker-compose.yml, docker-compose.dev.yml
- Dockerfile, docker-entrypoint.js
- .env.example (frontend, docker, backend)
- CI workflows, install scripts, docs
2026-03-23 16:53:20 +02:00
DESKTOP-RTLN3BA\$punk
0cd596b91f refactor: update video presentation status enum creation to use SQL execution for better handling of duplicates 2026-03-22 01:41:15 -07:00
DESKTOP-RTLN3BA\$punk
b28f135a96 feat: init video presentation agent 2026-03-21 22:13:41 -07:00
PR Bot
760aa38225 feat: complete MiniMax LLM provider integration
Add full MiniMax provider support across the entire stack:

Backend:
- Add MINIMAX to LiteLLMProvider enum in db.py
- Add MINIMAX mapping to all provider_map dicts in llm_service.py,
  llm_router_service.py, and llm_config.py
- Add Alembic migration (rev 106) for PostgreSQL enum
- Add MiniMax M2.5 example in global_llm_config.example.yaml

Frontend:
- Add MiniMax to LLM_PROVIDERS enum with apiBase
- Add MiniMax-M2.5 and MiniMax-M2.5-highspeed to LLM_MODELS
- Add MINIMAX to Zod validation schema
- Add MiniMax SVG icon and wire up in provider-icons

Docs:
- Add MiniMax setup guide in chinese-llm-setup.md

MiniMax uses an OpenAI-compatible API (https://api.minimax.io/v1)
with models supporting up to 204K context window.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 07:27:47 +08:00
DESKTOP-RTLN3BA\$punk
78384f1f11 refactor: correct alembic migration no 2026-03-10 12:54:42 -07:00
Rohan Verma
547077e5b9
Merge pull request #865 from CREDO23/sur-182-fix-ux-experience-for-composio-google-drive-connector
[Perf] Batch embedding, non-blocking search, chunks index & Google Drive UX fix
2026-03-10 12:52:16 -07:00
DESKTOP-RTLN3BA\$punk
403097646d feat: implement batch unread counts for notifications to reduce API calls and improve performance 2026-03-10 01:26:37 -07:00
CREDO23
fffef4cb5e perf: add missing index on chunks.document_id for faster search retrieval 2026-03-09 21:16:53 +02:00
Anish Sarkar
a11c95e30f feat: add last_login column to user table and update user login tracking 2026-03-08 18:24:29 +05:30
Rohan Verma
672b4e1808
Merge pull request #838 from AnishSarkar22/fix/docker
feat: docker-compose and docker CI pipeline enhancements
2026-03-02 13:54:27 -08:00
DESKTOP-RTLN3BA\$punk
e9892c8fe9 feat: added configable summary calculation and various improvements
- Replaced direct embedding calls with a utility function across various components to streamline embedding logic.
- Added enable_summary flag to several models and routes to control summary generation behavior.
2026-02-26 18:24:57 -08:00
Anish Sarkar
2e0f75203e chore: correct file path for Electric SQL user initialization script in Docker deployment documentation 2026-02-25 03:56:32 +05:30
DESKTOP-RTLN3BA\$punk
08c75127f1 feat: update migration to skip blocknode conversion and update transaction handling in chat routes 2026-02-20 22:43:25 -08:00
Anish Sarkar
a482cc95de chore: ran linting 2026-02-17 12:47:39 +05:30
Anish Sarkar
e910001518 fix: update migration messages for clarity in source_markdown migration process 2026-02-17 12:00:33 +05:30
Anish Sarkar
ef53203e4b feat: optimize source_markdown migration by processing documents in batches to reduce memory usage and improve performance 2026-02-17 11:47:56 +05:30
Anish Sarkar
e1087937e6 feat: refine source_markdown migration logic to only convert documents with blocknote_document data, ensuring lazy population for others 2026-02-17 11:34:28 +05:30
Anish Sarkar
8b497da130 feat: add source_markdown column to documents and implement migration logic for existing records using a pure-Python BlockNote JSON to Markdown converter 2026-02-17 11:34:11 +05:30
Anish Sarkar
a2dd5fb671 chore: ran linting 2026-02-13 02:43:26 +05:30
Anish Sarkar
adeef35443 feat: add report versioning support with report_group_id 2026-02-12 03:19:38 +05:30
Anish Sarkar
6fc5dc224b refactor: remove report_status enum and related index from reports table migration 2026-02-11 17:45:07 +05:30
Anish Sarkar
b6c0406d10 feat: add reports table and report status enum for generated Markdown reports 2026-02-11 16:28:56 +05:30
Anish Sarkar
c41a084945 chore: remove migration script for adding user_id to new_llm_configs and image_generation_configs 2026-02-11 03:48:46 +05:30
Anish Sarkar
fc64f65876 Merge remote-tracking branch 'upstream/dev' into feat/sur-159 2026-02-11 03:47:51 +05:30
Anish Sarkar
f1ce17bde4 chore: ran linting 2026-02-10 19:06:21 +05:30
DESKTOP-RTLN3BA\$punk
ec3f616e91 fix: migration no 2026-02-09 15:11:33 -08:00
Rohan Verma
dcd1497630
Merge pull request #802 from CREDO23/sur-161-feat-add-github-models-as-llm-provider
[Improvements] Add GitHub models as llm provider
2026-02-09 15:07:40 -08:00
CREDO23
a96d18ec31 Fix GitHub Models provider: use github prefix, fix migration, add Zod enum 2026-02-09 19:14:16 +02:00
CREDO23
fc946ee1e5 Add migration 96 for GITHUB_MODELS enum 2026-02-09 17:30:52 +02:00
Anish Sarkar
4b60068e8b feat: add user_id to new_llm_configs and image_generation_configs for user association 2026-02-09 18:30:52 +05:30
CREDO23
5b876de942 Add shared_memories table (SUR-152) 2026-02-06 16:30:50 +02:00
Anish Sarkar
b41c22842f refactor: change alelmbic migration number and made migrations idempotent 2026-02-06 12:32:55 +05:30
Anish Sarkar
0fdd194d92 Merge remote-tracking branch 'upstream/dev' into fix/documents 2026-02-06 12:13:26 +05:30
DESKTOP-RTLN3BA\$punk
1511c26ef5 feat: add residential proxy configuration for web crawling and YouTube transcript fetching 2026-02-05 20:44:13 -08:00
DESKTOP-RTLN3BA\$punk
7ce6493caa fix: update ENUM import for PostgreSQL compatibility in image generations table migration 2026-02-05 18:16:21 -08:00
DESKTOP-RTLN3BA\$punk
f85adefe5e chore: made generate_image more agnostic 2026-02-05 17:18:27 -08:00
DESKTOP-RTLN3BA\$punk
19e2857343 feat: added image gen support 2026-02-05 16:43:48 -08:00
Anish Sarkar
c132e5ddb0 Merge remote-tracking branch 'upstream/dev' into fix/documents 2026-02-06 05:36:32 +05:30
Anish Sarkar
0f92b37b66 feat: add status column to documents table for per-document processing tracking 2026-02-06 05:36:18 +05:30
Anish Sarkar
aa66928154 chore: ran linting 2026-02-06 05:35:15 +05:30
Anish Sarkar
aef59d04eb feat: add document status management with JSONB column for processing states in documents 2026-02-05 21:59:31 +05:30
CREDO23
f3a9922eb9 Add refresh token auth routes and utilities 2026-02-05 17:29:50 +02:00
DESKTOP-RTLN3BA\$punk
5cb59bbde8 feat: add new incentive task type for Discord 2026-02-03 22:32:39 -08:00
DESKTOP-RTLN3BA\$punk
2789dd9629 chore: linting 2026-02-03 13:32:11 -08:00
CREDO23
b221e8cd11 fix: renumber migration to avoid version conflict with upstream 2026-02-03 14:46:33 +02:00
CREDO23
60330622bf Merge remote-tracking branch 'upstream/dev' into dev 2026-02-03 14:24:24 +02:00
DESKTOP-RTLN3BA\$punk
4753ea809b feat(migrations): make podcast file_location nullable 2026-02-02 17:56:47 -08:00