Files
CodePilot/src/app/api
7418andClaude Opus 4.6 4e01902368 fix: Volcengine model list pollution + missing by-cwd route
- provider-catalog: getDefaultModelsForProvider() now returns preset's
  defaultModels even when empty, instead of falling through to
  ANTHROPIC_DEFAULT_MODELS. Fixes Volcengine (defaultModels: []) incorrectly
  showing Sonnet/Opus/Haiku.
- providers/models route: remove DEFAULT_MODELS fallback when both DB and
  catalog are empty — providers like Volcengine that require user-specified
  model names should show only those models.
- Add missing src/app/api/chat/sessions/by-cwd/route.ts that was untracked;
  without it worktree switching would 404 in release builds.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 00:47:03 +08:00
..