fixes anthropic keychecker for some keys
This commit is contained in:
parent
0bf2f5c123
commit
6a3d753f0d
|
@ -239,7 +239,6 @@ export class AnthropicKeyChecker {
|
|||
}
|
||||
|
||||
static getHeaders(key: AnthropicKey) {
|
||||
const headers = { "X-API-Key": key.key };
|
||||
return headers;
|
||||
return { "X-API-Key": key.key, "anthropic-version": "2023-06-01" };
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue