Skip to content

Commit 82fb294

Browse files
committed
feat: add extraBody support to model aliases
- Add extra_body column to model_aliases table (SQLite text, PG jsonb) - Add extraBody to ModelConfigSchema (z.record, optional) - Read/write extraBody in config-repository (rowToModelConfig, saveAlias) - Merge alias-level extraBody in dispatcher (chat, embeddings, speech, image) with highest priority (overrides provider and model-level extraBody) - Add AliasExtraBodyEditor component in the Advanced disclosure - Add extraBody to frontend Alias type, saveAlias, and getAliases - Update test to handle pending migration column
1 parent dc09068 commit 82fb294

15 files changed

Lines changed: 6383 additions & 1 deletion

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALTER TABLE `model_aliases` ADD `extra_body` text;

0 commit comments

Comments
 (0)