reverts anthropic-version change as it breaks some frontends
This commit is contained in:
@@ -60,7 +60,6 @@ export const addKey: ProxyRequestMiddleware = (proxyReq, req) => {
|
||||
// TODO: KeyProvider should assemble all necessary headers
|
||||
if (assignedKey.service === "anthropic") {
|
||||
proxyReq.setHeader("X-API-Key", assignedKey.key);
|
||||
proxyReq.setHeader("anthropic-version", "2023-01-01");
|
||||
} else if (assignedKey.service === "openai") {
|
||||
const key: OpenAIKey = assignedKey as OpenAIKey;
|
||||
if (key.organizationId) {
|
||||
|
||||
Reference in New Issue
Block a user