Parcourir la source

Fixes #2923 adds empty string protection

main
Eric Amodio il y a 1 an
Parent
révision
167c718eef
2 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. +1
    -0
      CHANGELOG.md
  2. +1
    -1
      src/ai/openaiProvider.ts

+ 1
- 0
CHANGELOG.md Voir le fichier

@ -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 Voir le fichier

@ -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> {

Chargement…
Annuler
Enregistrer