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). |
||
|---|---|---|
| .. | ||
| billing.rs | ||
| code_review.rs | ||
| mod.rs | ||
| model_capability.rs | ||
| model_parameter_profile.rs | ||
| model_pricing.rs | ||
| model_version.rs | ||
| model.rs | ||
| pr_summary.rs | ||
| provider.rs | ||
| sync.rs | ||