mirror of
https://github.com/lfnovo/open-notebook.git
synced 2026-07-25 07:36:30 +00:00
Migration 22 best-effort maps profiles whose outline_llm/transcript_llm/ voice_model references are still empty to existing model records (provider + name + type, no auto-create), clears the legacy values and drops the 6 columns. The startup data migration that retried this mapping on every boot (open_notebook/podcasts/migration.py) is deleted along with its api/main.py lifespan hook; the legacy fields are removed from the Pydantic models, API schemas and frontend types/panels. Accepted trade-off: profiles whose mapping never converged lose the legacy strings and stay unresolved - they were already non-functional and the UI already flags them; the user re-picks models once. |
||
|---|---|---|
| .. | ||
| migrations | ||
| async_migrate.py | ||
| migrate.py | ||
| repository.py | ||