mirror of
https://github.com/agoramachina/claude-exporter.git
synced 2026-07-09 15:59:52 +00:00
Add vitest coverage for the documented model ID shapes (dateless 4.6+,
dated pre-4.6, convenience aliases) across all three known families,
plus regression for the \d{1,2} minor boundary, unknown-family
fallthrough (using a hypothetical claude-mythos-* as the example), and
a sanity check that every DEFAULT_MODEL_TIMELINE entry parses cleanly
through formatModelName.
Drop a comment above formatModelName linking to Anthropic's official
model-ids docs so future maintainers know which shapes are supposed to
be supported.
52 tests passing (was 36).
|
||
|---|---|---|
| .. | ||
| utils.test.js | ||