mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-02 20:43:36 +00:00
feat: add @automaker/model-resolver package
- Extract model string resolution logic - Map model aliases to full model strings (haiku -> claude-haiku-4-5) - Handle multiple model sources with priority - Re-export model constants from @automaker/types Provides centralized model resolution for Claude models. Simplifies model handling across server and UI. Dependencies: @automaker/types 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
13
libs/model-resolver/src/index.ts
Normal file
13
libs/model-resolver/src/index.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* @automaker/model-resolver
|
||||
* Model resolution utilities for AutoMaker
|
||||
*/
|
||||
|
||||
// Re-export constants from types
|
||||
export { CLAUDE_MODEL_MAP, DEFAULT_MODELS, type ModelAlias } from '@automaker/types';
|
||||
|
||||
// Export resolver functions
|
||||
export {
|
||||
resolveModelString,
|
||||
getEffectiveModel,
|
||||
} from './resolver';
|
||||
Reference in New Issue
Block a user