Remove curated models table, use live provider APIs with filtering
Some checks failed
CI / lint-and-test (push) Successful in 34s
Deploy Production / deploy (push) Successful in 1m30s
CI / build (push) Has been cancelled

- Remove harness_curated_models table from schema
- Remove /api/models/curated route and all curated model functions
- Move KNOWN_MODELS pricing table to model-providers.ts and enrich
  live API results with pricing/context window data
- Filter out old models: dated IDs (claude-3-opus-20240229), legacy
  families (claude-3-*, gpt-3.5-*, gpt-4-*, text-*, etc.)
- Update model_list chat tool to use fetchAllModels() instead of DB
- Update ModelsTab to fetch from /api/models, remove toggle/delete
- Update getUsageSummary to use KNOWN_MODELS for cost lookup
- Simplify boot.ts: remove model syncing, keep agent auto-discovery
This commit is contained in:
Julia McGhee
2026-03-22 11:58:02 +00:00
parent af9b4b2452
commit 71e3215f89
10 changed files with 909 additions and 259 deletions

View File

@@ -29,6 +29,13 @@
"when": 1774179559510,
"tag": "0003_damp_glorian",
"breakpoints": true
},
{
"idx": 4,
"version": "7",
"when": 1774180634616,
"tag": "0004_complete_jack_murdock",
"breakpoints": true
}
]
}