waveterm/db
Sylvie Crowe ef30221e0b
Allow AI Presets To Automatically Update Widgets (#1954)
This change makes it so changes to the presets file are no longer being
written to metadata. Instead, the preset data is read separately
(although it is still possible to override it with metadata if done
manually).

Because presets are being tracked separately, if the associated metadata
key is not set, changes to the `presets/ai.json` file will be applied
immediately without switching the preset choice. Note that `ai:preset`
is still used in metadata to associate a block with a preset.

Additionallly, this introduces a database migration to clear out the
metadata items starting with `ai:` except for `ai:preset`. This will
allow the change to apply to existing blocks in addition to new ones.
2025-02-13 13:38:12 -08:00
..
migrations-filestore rename blockstore to filestore. rename blockid to zoneid. 2024-06-03 13:03:21 -07:00
migrations-wstore Allow AI Presets To Automatically Update Widgets (#1954) 2025-02-13 13:38:12 -08:00
db.go Happy new year! (#1684) 2025-01-04 20:56:57 -08:00