Drop all hard-coded model-name lookup tables that hardcoded specific model names and prices: - infer_context_length: remove GPT-4o/o1/Claude/etc. fallback table - infer_max_output: remove GPT-4o/o1/etc. output token limits - infer_pricing_fallback: remove entire hardcoded pricing table - infer_capability_list: derive from architecture.modality only, no longer uses model name strings Also fix stats: if upsert_version fails, skip counting and continue rather than counting model but not version (which caused versions_created=0 while pricing_created>0 inconsistency). |
||
|---|---|---|
| .. | ||
| agent | ||
| agent-tool-derive | ||
| api | ||
| avatar | ||
| config | ||
| db | ||
| git | ||
| migrate | ||
| models | ||
| queue | ||
| room | ||
| rpc | ||
| service | ||
| session | ||
| transport | ||
| webhook | ||