Skip to main content

Module model_catalog

Module model_catalog 

Source
Expand description

The retired model_catalog table, kept only to drop it.

f5a8292c deleted the OpenRouter catalog machinery and the store module that owned this table, which left its rows behind in every store that had cached a catalog. Nothing in the tree reads or writes it now, so there is nothing to drain before drop_table removes it.

Re-exportsยง

use redb::TableDefinition; ๐Ÿ”’
use super::Db; ๐Ÿ”’

Constantsยง

MODEL_CATALOG ๐Ÿ”’

Functionsยง

drop_table
Remove the table. Returns whether a table was there to drop. Callers compact afterwards, because dropping a table reclaims nothing on its own.