fix(provider/azure): lint err
This commit is contained in:
1 parent
5a251b46af
commit
f7dd040ae4
2 files changed
+2
-2
No files matched your search
@@ -128,7 +128,7 @@ func (p *Provider) Chat(
|
||||
// Azure uses api-key header instead of Authorization: Bearer
|
||||
req.Header.Set("Content-Type", "application/json")
|
||||
if p.apiKey != "" {
|
||||
req.Header.Set("api-key", p.apiKey)
|
||||
req.Header.Set("Api-Key", p.apiKey)
|
||||
}
|
||||
|
||||
resp, err := p.httpClient.Do(req)
|
||||
|
||||
Reference in new issue
Block a user