Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
elie222 committed Feb 26, 2025
1 parent 013359c commit 18ffdad
Show file tree
Hide file tree
Showing 2 changed files with 79 additions and 83 deletions.
10 changes: 3 additions & 7 deletions apps/web/utils/llms/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,9 @@ function getModel({ aiProvider, aiModel, aiApiKey }: UserAIFields) {
provider: Provider.ANTHROPIC,
model,
llmModel: createAmazonBedrock({
bedrockOptions: {
region: env.BEDROCK_REGION,
credentials: {
accessKeyId: env.BEDROCK_ACCESS_KEY,
secretAccessKey: env.BEDROCK_SECRET_KEY,
},
},
region: env.BEDROCK_REGION,
accessKeyId: env.BEDROCK_ACCESS_KEY,
secretAccessKey: env.BEDROCK_SECRET_KEY,
})(model),
};
}
Expand Down
Loading

1 comment on commit 18ffdad

@vercel
Copy link

@vercel vercel bot commented on 18ffdad Feb 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.