Skip to content

feat: lazily initialize engines from saved settings#10

Merged
andinux merged 1 commit into
mainfrom
feat/lazy-engine-init-from-settings
Jun 5, 2026
Merged

feat: lazily initialize engines from saved settings#10
andinux merged 1 commit into
mainfrom
feat/lazy-engine-init-from-settings

Conversation

@andinux
Copy link
Copy Markdown
Contributor

@andinux andinux commented Jun 5, 2026

Reuse persisted provider/model settings by creating missing local, remote, or custom engines on first embedding use instead of requiring memory_set_model on every connection.

Keep memory_set_model eager so callers can preload and validate engines explicitly, while memory_set_apikey remains connection-scoped and lazy for saved remote models.

Update API/README documentation and add regression coverage for saved local, remote, and custom provider settings.

Verification: build/unittest with TEST_SQLITE_EXTENSION passed 157 tests.

Reuse persisted provider/model settings by creating missing local, remote, or custom engines on first embedding use instead of requiring memory_set_model on every connection.

Keep memory_set_model eager so callers can preload and validate engines explicitly, while memory_set_apikey remains connection-scoped and lazy for saved remote models.

Update API/README documentation and add regression coverage for saved local, remote, and custom provider settings.

Verification: build/unittest with TEST_SQLITE_EXTENSION passed 157 tests.
@andinux andinux merged commit 5dd04fc into main Jun 5, 2026
40 checks passed
@andinux andinux deleted the feat/lazy-engine-init-from-settings branch June 5, 2026 20:14
andinux added a commit that referenced this pull request Jun 6, 2026
- feat: lazily initialize engines from saved settings (#10)
- fix: keep preserved duplicate paths idempotent
- feat: support empty directory markers (#11)
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.

1 participant