(msg: Api.Message)
| 528 | 🔑 密钥: ${this.config.apiKey ? '✅ 已设置' : '❌ 未设置'} |
| 529 | 📍 地址: ${htmlEscape(this.config.baseUrl.replace(/\/$/, ''))} |
| 530 | 🤖 模型: ${this.config.model} |
| 531 | |
| 532 | 使用 查看帮助`; |
| 533 | |
| 534 | await msg.edit({ text: statusText, parseMode: 'html' }); |
| 535 | } |
| 536 | |
| 537 | private async showConfig(msg: Api.Message) { |
| 538 | const configText = `<b>⚙️ 配置信息</b> |
| 539 | |
| 540 | mode: ${this.config.apiMode} |
| 541 | key: ${this.config.apiKey ? '✅ 已设置' : '❌ 未设置'} |
| 542 | url: <code>${htmlEscape(this.config.baseUrl.replace(/\/$/, ''))}</code> |
| 543 | model: <code>${htmlEscape(this.config.model)}</code> |
| 544 | |
| 545 | 使用 <code>${mainPrefix}xm set [key] [value]</code> 修改配置`; |
no test coverage detected