fixes anthropic keychecker for some keys

This commit is contained in:
nai-degen 2023-10-02 20:31:03 -05:00
parent 0bf2f5c123
commit 6a3d753f0d
1 changed files with 1 additions and 2 deletions

View File

@ -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" };
}
}