Skip to content

feat(openai): add configurable Fable family mapping#3975

Open
ncwn wants to merge 1 commit into
Wei-Shaw:mainfrom
ncwn:fix/fable-family-mapping
Open

feat(openai): add configurable Fable family mapping#3975
ncwn wants to merge 1 commit into
Wei-Shaw:mainfrom
ncwn:fix/fable-family-mapping

Conversation

@ncwn

@ncwn ncwn commented Jul 10, 2026

Copy link
Copy Markdown

Summary

  • classify Claude Fable requests as a first-class messages-dispatch family
  • add an optional fable_mapped_model group setting before Opus, Sonnet, and Haiku
  • keep exact-model mappings as higher-priority overrides
  • leave Fable unmapped when the family setting is blank

Problem

Fable was missing from the shared Claude family classifier. A group-level exact mapping could resolve a target, but downstream OpenAI forwarding only applied the messages-dispatch target to a recognized Claude family. The original Fable model ID could therefore reach a Codex account and be rejected as unsupported.

A family setting is more reliable for versioned Fable model IDs while retaining exact mappings for genuine exceptions. The target model remains deployment configuration; this change does not add a built-in Fable target.

Tests

  • make test-unit
  • make test-integration
  • make test-frontend
  • go run github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.9.0 run ./...

@github-actions

github-actions Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA. ✅
Posted by the CLA Assistant Lite bot.

@ncwn ncwn force-pushed the fix/fable-family-mapping branch from e8c05af to 031bb5c Compare July 10, 2026 09:58
@ncwn

ncwn commented Jul 10, 2026

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

github-actions Bot added a commit that referenced this pull request Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant