Commit 82fb294
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 column1 parent dc09068 commit 82fb294
15 files changed
Lines changed: 6383 additions & 1 deletion
File tree
- packages
- backend
- drizzle
- migrations_pg
- meta
- migrations
- meta
- schema
- postgres
- sqlite
- src
- db
- __tests__
- services
- frontend/src
- components/models
- lib
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments