MCPcopy Create free account
hub / github.com/echoVic/blade-code / showCurrentConfig

Function showCurrentConfig

src/config/user-config.ts:136–144  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

134 * 显示当前配置
135 */
136export function showCurrentConfig(): void {
137 const config = getUserConfig();
138
139 console.log(chalk.blue('\n📋 当前配置:'));
140 console.log(chalk.green(`Provider: ${config.currentProvider || '未设置'}`));
141 console.log(chalk.green(`Model: ${config.currentModel || '使用默认模型'}`));
142 console.log(chalk.gray(`最后更新: ${config.lastUpdated || '未知'}`));
143 console.log(chalk.gray(`配置文件: ${CONFIG_FILE_PATH}`));
144}

Callers 1

configCommandFunction · 0.85

Calls 2

getUserConfigFunction · 0.85
logMethod · 0.45

Tested by

no test coverage detected