Просмотр исходного кода

Fixes #2923 adds empty string protection

main
Eric Amodio 1 год назад
Родитель
Сommit
167c718eef
2 измененных файлов: 2 добавлений и 1 удалений
  1. +1
    -0
      CHANGELOG.md
  2. +1
    -1
      src/ai/openaiProvider.ts

+ 1
- 0
CHANGELOG.md Просмотреть файл

@ -12,6 +12,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
### Fixed
- Fixes [#2923](https://github.com/gitkraken/vscode-gitlens/issues/2923) - TypeError: Only absolute URLs are supported
- Fixes [#2926](https://github.com/gitkraken/vscode-gitlens/issues/2926) - "Open File at Revision" has incorrect editor label if revision contains path separator
- Fixes [#2952](https://github.com/gitkraken/vscode-gitlens/issues/2952) - Inline blame not working because of missing ignoreRevsFile
- Fixes [#2814](https://github.com/gitkraken/vscode-gitlens/issues/2814) - GitLens Inspect: "Files Changed" not following when switching between commits in File History

+ 1
- 1
src/ai/openaiProvider.ts Просмотреть файл

@ -20,7 +20,7 @@ export class OpenAIProvider implements AIProvider {
dispose() {}
private get url(): string {
return configuration.get('ai.experimental.openai.url') ?? 'https://api.openai.com/v1/chat/completions';
return configuration.get('ai.experimental.openai.url') || 'https://api.openai.com/v1/chat/completions';
}
async generateCommitMessage(diff: string, options?: { context?: string }): Promise<string | undefined> {

Загрузка…
Отмена
Сохранить