Skip to content

Commit

Permalink
feat: call claude api not in credential 'include' mode
Browse files Browse the repository at this point in the history
  • Loading branch information
butterfly authored and butterfly committed Apr 8, 2024
1 parent 5446d8d commit 6dad353
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion app/client/platforms/anthropic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
9 changes: 0 additions & 9 deletions app/constant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 6dad353

Please sign in to comment.