LC
548dc15acd
refactor(models): unify provider metadata around backend catalog ( #2896 )
...
* feat(models): unify provider metadata around backend catalog
- Move shared provider metadata and alias normalization into backend-owned provider catalog
- Expose display, fetch, auth, and default model metadata through /api/models provider_options
- Replace frontend static provider registry with catalog-driven selection, validation, grouping, and fallback rendering
- Treat provider default api_base as placeholder and effective fetch/test base while keep submitted api_base separate from derived defaults
- Add model page retry handling, touched locale updates, and provider metadata assertions in backend tests
* fix(models): canonicalize backend provider aliases and common models
* fix(models): restore deepseek common model recommendations
2026-05-20 11:50:34 +08:00
LC
81a050555d
feat(provider,web,asr): enhance model management with explicit provider metadata ( #2701 )
...
* feat(provider,web): enhance model management with provider options
* fix(asr): enhance compatibility for ElevenLabs transcription model
* fix(provider,web): align provider availability predicates and add flow gating
* fix(web,asr): preserve legacy elevenlabs transcription configs
* fix(provider,web,asr): normalize elevenlabs configs and gate default chat models
* fix: tighten provider catalog and elevenlabs compatibility
2026-05-06 16:06:49 +08:00
Adi Susilayasa
9a3ca8e54d
feat(provider): add Alibaba Coding Plan and regional Qwen endpoints ( #1748 )
...
* feat(provider): add Alibaba Coding Plan and regional Qwen endpoints
- Add Alibaba Coding Plan provider with OpenAI-compatible endpoint
(https://coding-intl.dashscope.aliyuncs.com/v1 )
- Add Coding Plan Anthropic-compatible endpoint
(https://coding-intl.dashscope.aliyuncs.com/apps/anthropic )
- Add regional Qwen endpoints (qwen-intl, qwen-us)
- Add provider aliases: coding-plan, alibaba-coding, qwen-coding
- Normalize provider names for coding-plan variants
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
* fix(provider): add reviewer-requested fixes for Alibaba Coding Plan
- Add qwen-international, dashscope-intl, dashscope-us aliases to switch case
- Add coding-plan-anthropic case with anthropicmessages.NewProviderWithTimeout
- Add alibaba-coding-anthropic -> coding-plan-anthropic normalization
- Add qwen-international -> qwen-intl and dashscope-us -> qwen-us normalization
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
* test(provider): add tests for Alibaba Coding Plan protocol aliases
- Add tests for qwen-international, dashscope-intl, dashscope-us aliases
- Add tests for coding-plan-anthropic and alibaba-coding-anthropic
- Add getDefaultAPIBase tests for all new aliases
- Add normalization tests for new provider aliases
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
---------
Co-authored-by: Claude <noreply@anthropic.com >
2026-03-19 22:07:30 +08:00
Leandro Barbosa
6e7149509a
feat: add model fallback chain with error classification
...
Add 2-layer fallback system (text + image) with automatic candidate
resolution. Includes error classifier (~40 patterns), per-provider
cooldown (exponential backoff), and model reference parsing.
- FailoverError/FailoverReason types for structured error handling
- ErrorClassifier with rate_limit, billing, auth, timeout patterns
- FallbackChain with cooldown management and candidate rotation
- ModelRef parser for provider/model string format
- 128 tests, 95%+ coverage
2026-02-13 12:12:12 -03:00