gitdataai/libs/service
ZhenYi 3a30150a41 refactor(service): remove all hardcoded model-name inference from OpenRouter sync
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).
2026-04-16 22:47:24 +08:00
..
agent refactor(service): remove all hardcoded model-name inference from OpenRouter sync 2026-04-16 22:47:24 +08:00
auth init 2026-04-15 09:08:09 +08:00
git init 2026-04-15 09:08:09 +08:00
issue init 2026-04-15 09:08:09 +08:00
project feat(repo): return ssh/https clone URLs from backend 2026-04-16 18:20:48 +08:00
pull_request init 2026-04-15 09:08:09 +08:00
search init 2026-04-15 09:08:09 +08:00
skill init 2026-04-15 09:08:09 +08:00
user init 2026-04-15 09:08:09 +08:00
utils init 2026-04-15 09:08:09 +08:00
workspace init 2026-04-15 09:08:09 +08:00
Cargo.toml init 2026-04-15 09:08:09 +08:00
error.rs init 2026-04-15 09:08:09 +08:00
lib.rs init 2026-04-15 09:08:09 +08:00
webhook_dispatch.rs init 2026-04-15 09:08:09 +08:00
ws_token.rs init 2026-04-15 09:08:09 +08:00