MCPcopy Create free account
hub / github.com/MigoXLab/coderio / getModelConfig

Function getModelConfig

src/utils/config.ts:84–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

82 * @throws Error if configuration is invalid
83 */
84export 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

Callers 6

callModelFunction · 0.90
initialProjectFunction · 0.90
createRefinerAgentFunction · 0.90
createCommitAgentFunction · 0.90
createLaunchAgentFunction · 0.90
createJudgerAgentFunction · 0.90

Calls 1

loadConfigFunction · 0.85

Tested by

no test coverage detected