()
| 82 | * @throws Error if configuration is invalid |
| 83 | */ |
| 84 | export function getModelConfig(): ModelConfig { |
| 85 | const config = loadConfig(); |
| 86 | if (!config.model) { |
| 87 | throw new Error('Model configuration not found in config.yaml'); |
| 88 | } |
| 89 | return config.model; |
| 90 | } |
| 91 | |
| 92 | /** |
| 93 | * Get Figma configuration from config.yaml |
no test coverage detected