Skip to content

feat(catalog): use catalog metadata for Anthropic model families#3245

Open
scholarsmate wants to merge 3 commits intotailcallhq:mainfrom
scholarsmate:codex/anthropic-model-family-catalog
Open

feat(catalog): use catalog metadata for Anthropic model families#3245
scholarsmate wants to merge 3 commits intotailcallhq:mainfrom
scholarsmate:codex/anthropic-model-family-catalog

Conversation

@scholarsmate
Copy link
Copy Markdown
Contributor

@scholarsmate scholarsmate commented May 2, 2026

Summary

  • add Anthropic model family metadata to catalog models
  • prefer catalog family metadata in Anthropic reasoning normalization and beta-header handling
  • keep model-id inference as the fallback for unknown or uncataloged ids
  • add coverage for re-skinned Opus 4.7 ids such as google-claude-47-opus

Why

Issue #3206 points out that substring-only family detection breaks when Anthropic-compatible providers re-skin canonical Claude ids. This lets known catalog models carry the intended family explicitly while preserving existing behavior for unknown ids.

Validation

  • node -e "JSON.parse(require('fs').readFileSync('crates/forge_repo/src/provider/provider.json','utf8')); console.log('provider.json ok')"
  • git diff --check

Fixes #3206

@github-actions github-actions Bot added the type: provider Updates provider.json configuration. label May 2, 2026
@scholarsmate scholarsmate changed the title [codex] Use catalog metadata for Anthropic model families feat(catalog) Use catalog metadata for Anthropic model families May 2, 2026
@scholarsmate scholarsmate force-pushed the codex/anthropic-model-family-catalog branch from cf10c36 to 74cae77 Compare May 2, 2026 21:00
@github-actions github-actions Bot added the type: feature Brand new functionality, features, pages, workflows, endpoints, etc. label May 2, 2026
@scholarsmate scholarsmate force-pushed the codex/anthropic-model-family-catalog branch 6 times, most recently from d9e35a7 to 5b6ed10 Compare May 2, 2026 22:51
Co-Authored-By: ForgeCode <noreply@forgecode.dev>
@scholarsmate scholarsmate force-pushed the codex/anthropic-model-family-catalog branch from 5b6ed10 to 1d784f0 Compare May 2, 2026 22:58
@scholarsmate scholarsmate marked this pull request as ready for review May 2, 2026 23:08
@scholarsmate scholarsmate changed the title feat(catalog) Use catalog metadata for Anthropic model families feat(catalog): use catalog metadata for Anthropic model families May 2, 2026
@amitksingh1490 amitksingh1490 self-assigned this May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: feature Brand new functionality, features, pages, workflows, endpoints, etc. type: provider Updates provider.json configuration.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Tech debt enhance robustness in model family detection

2 participants