gitdataai/libs
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(room): remove NATS, use Redis pub/sub for message queue 2026-04-16 17:24:04 +08:00
agent-tool-derive init 2026-04-15 09:08:09 +08:00
api feat(room): improve robustness — optimistic send, atomic seq, jitter reconnect 2026-04-16 19:23:06 +08:00
avatar init 2026-04-15 09:08:09 +08:00
config init 2026-04-15 09:08:09 +08:00
db init 2026-04-15 09:08:09 +08:00
email init 2026-04-15 09:08:09 +08:00
git refactor(git): remove SSH rate limiting 2026-04-16 22:40:59 +08:00
migrate refactor(room): remove NATS, use Redis pub/sub for message queue 2026-04-16 17:24:04 +08:00
models refactor(room): remove NATS, use Redis pub/sub for message queue 2026-04-16 17:24:04 +08:00
queue refactor(room): remove NATS, use Redis pub/sub for message queue 2026-04-16 17:24:04 +08:00
room fix(room): add edit rollback, clean stream channels on room shutdown/idle 2026-04-16 19:28:23 +08:00
rpc init 2026-04-15 09:08:09 +08:00
service refactor(service): remove all hardcoded model-name inference from OpenRouter sync 2026-04-16 22:47:24 +08:00
session init 2026-04-15 09:08:09 +08:00
transport init 2026-04-15 09:08:09 +08:00
webhook init 2026-04-15 09:08:09 +08:00