onst model = this.deepseek.model;

        if (!apiKey) {
          this.saveMessage = '请填写 DeepSeek API 密钥。';
          this.saveMessageType = 'error';
          return;
        }

        this.deepseek.apiKey = apiKey;
        this.deepseek.model = model;
        this.saveMessage = 'DeepSeek API 配置已保存。';
        this.saveMessageType = 'success';

      } else if (this.selectedApi === 'youdao') {
        const appKey = this.youdao.appKey;
        const appSecret = this.youdao.appSec