Browse Source

Fixes #2941 adds header

main
Eric Amodio 1 year ago
parent
commit
1caf928be9
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      CHANGELOG.md
  2. +1
    -0
      src/ai/anthropicProvider.ts

+ 1
- 0
CHANGELOG.md View File

@ -12,6 +12,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
### Fixed
- Fixes [#2941](https://github.com/gitkraken/vscode-gitlens/issues/2941) - Invalid Request when trying to generate a commit message using Anthropic API
- Fixes [#2940](https://github.com/gitkraken/vscode-gitlens/issues/2940) - Can't use Azure OpenAI model because i can't save the openai key because of the verification
- Fixes [#2928](https://github.com/gitkraken/vscode-gitlens/issues/2928) - Apply Changes should create new files when needed
- Fixes [#2896](https://github.com/gitkraken/vscode-gitlens/issues/2896) - Repositories view stuck in loading state

+ 1
- 0
src/ai/anthropicProvider.ts View File

@ -129,6 +129,7 @@ export class AnthropicProvider implements AIProvider {
Authorization: `Bearer ${apiKey}`,
'Content-Type': 'application/json',
'X-API-Key': apiKey,
'anthropic-version': '2023-06-01',
},
method: 'POST',
body: JSON.stringify(request),

Loading…
Cancel
Save