瀏覽代碼

Fixes #2923 adds empty string protection

main
Eric Amodio 1 年之前
父節點
當前提交
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> {

Loading…
取消
儲存