()
| 134 | * 显示当前配置 |
| 135 | */ |
| 136 | export 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 | } |
no test coverage detected