refactor: remove allows_unlisted_models flag, always allow custom model entry (#7255)

Signed-off-by: clayarnoldg2m <carnold@g2m.ai>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Clay
2026-02-23 09:23:00 +13:00
committed by GitHub
parent c8d4057dd1
commit aa05308803
16 changed files with 16 additions and 56 deletions
@@ -487,10 +487,6 @@ impl ProviderDef for ClaudeCodeProvider {
true, false, true,
)],
)
// The model list only returns aliases the `claude` CLI uses, such as "default"
// and "haiku". There is no listing that includes full names like
// "claude-sonnet-4-5-20250929". However, they are permitted.
.with_unlisted_models()
}
fn from_env(