Skip to content

Conversation

@Koopa0
Copy link
Owner

@Koopa0 Koopa0 commented Dec 22, 2025

  • Update TUI tests for new function signatures
  • Make database migrations idempotent with IF NOT EXISTS
  • Fixes CI failures from dirty database state

  - Update TUI tests for new function signatures
  - Make database migrations idempotent with IF NOT EXISTS
  - Fixes CI failures from dirty database state
@Koopa0 Koopa0 merged commit 0378d28 into main Dec 22, 2025
6 of 7 checks passed
CREATE TABLE IF NOT EXISTS documents (
id TEXT PRIMARY KEY,
content TEXT NOT NULL,
embedding vector(768) NOT NULL, -- text-embedding-004 dimension

Choose a reason for hiding this comment

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

The embedding column is defined as vector(768), which hardcodes the embedding dimension. This reduces flexibility if you switch to a different embedding model with a different dimension in the future. Consider parameterizing the dimension or documenting the migration process for changing the dimension to improve maintainability.

@Koopa0 Koopa0 deleted the fix/resolve-tui-test branch December 22, 2025 06:29
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