    this.errorMsg = 'OpenAI API 密钥未配置。';
        return [];
      }

      const messages = [
        {
          role: 'system',
          content: `You are a translation expert specializing in Git operation terminology. Please translate the following Git-related content from English to Chinese.
            The following terms should preferably be translated using the following fixed translations, depending on the context:
            ${this.formatFixedTranslations()}

            The following