feat: call claude api not in credential 'include' mode
This commit is contained in:
parent
5446d8d4a2
commit
6dad353e1c
|
@ -189,7 +189,7 @@ export class ClaudeApi implements LLMApi {
|
||||||
"anthropic-version": accessStore.anthropicApiVersion,
|
"anthropic-version": accessStore.anthropicApiVersion,
|
||||||
Authorization: getAuthKey(accessStore.anthropicApiKey),
|
Authorization: getAuthKey(accessStore.anthropicApiKey),
|
||||||
},
|
},
|
||||||
credentials: "include" as RequestCredentials,
|
// credentials: "include" as RequestCredentials,
|
||||||
};
|
};
|
||||||
|
|
||||||
if (shouldStream) {
|
if (shouldStream) {
|
||||||
|
|
|
@ -327,15 +327,6 @@ export const DEFAULT_MODELS = [
|
||||||
providerType: "anthropic",
|
providerType: "anthropic",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: "claude-3",
|
|
||||||
available: true,
|
|
||||||
provider: {
|
|
||||||
id: "anthropic",
|
|
||||||
providerName: "Anthropic",
|
|
||||||
providerType: "anthropic",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: "claude-3-opus-20240229",
|
name: "claude-3-opus-20240229",
|
||||||
available: true,
|
available: true,
|
||||||
|
|
Loading…
Reference in New Issue