mirror of
https://git.mirrors.martin98.com/https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-08-05 15:20:49 +08:00
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,
|
||||
Authorization: getAuthKey(accessStore.anthropicApiKey),
|
||||
},
|
||||
credentials: "include" as RequestCredentials,
|
||||
// credentials: "include" as RequestCredentials,
|
||||
};
|
||||
|
||||
if (shouldStream) {
|
||||
|
@ -327,15 +327,6 @@ export const DEFAULT_MODELS = [
|
||||
providerType: "anthropic",
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "claude-3",
|
||||
available: true,
|
||||
provider: {
|
||||
id: "anthropic",
|
||||
providerName: "Anthropic",
|
||||
providerType: "anthropic",
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "claude-3-opus-20240229",
|
||||
available: true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user