mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-01 08:13:37 +00:00
feat: refactor Claude API Profiles to Claude Compatible Providers
- Rename ClaudeApiProfile to ClaudeCompatibleProvider with models[] array - Each ProviderModel has mapsToClaudeModel field for Claude tier mapping - Add providerType field for provider-specific icons (glm, minimax, openrouter) - Add thinking level support for provider models in phase selectors - Show all mapped Claude models per provider model (e.g., "Maps to Haiku, Sonnet, Opus") - Add Bulk Replace feature to switch all phases to a provider at once - Hide Bulk Replace button when no providers are enabled - Fix project-level phaseModelOverrides not persisting after refresh - Fix deleting last provider not persisting (remove empty array guard) - Add getProviderByModelId() helper for all SDK routes - Update all routes to pass provider config for provider models - Update terminology from "profiles" to "providers" throughout UI - Update documentation to reflect new provider system
This commit is contained in:
@@ -3378,8 +3378,15 @@ export interface Project {
|
||||
* - undefined: Use global setting (activeClaudeApiProfileId)
|
||||
* - null: Explicitly use Direct Anthropic API (no profile)
|
||||
* - string: Use specific profile by ID
|
||||
* @deprecated Use phaseModelOverrides instead for per-phase model selection
|
||||
*/
|
||||
activeClaudeApiProfileId?: string | null;
|
||||
/**
|
||||
* Per-phase model overrides for this project.
|
||||
* Keys are phase names (e.g., 'enhancementModel'), values are PhaseModelEntry.
|
||||
* If a phase is not present, the global setting is used.
|
||||
*/
|
||||
phaseModelOverrides?: Partial<import('@automaker/types').PhaseModelConfig>;
|
||||
}
|
||||
|
||||
export interface TrashedProject extends Project {
|
||||
|
||||
Reference in New Issue
Block a user