bolt.new/app
Maki d86eaa420e 🚀 [feat] Integrate Amazon Bedrock support
Add support for Amazon Bedrock models, including:

- Implement AWS credentials retrieval for Bedrock
- Add Bedrock model initialization and handling
- Include Claude 3 models (Opus, Sonnet, Haiku) for Bedrock
- Adjust token limits for Bedrock models
- Update chat action to support model selection
- Add @ai-sdk/amazon-bedrock dependency

Key changes:
- app/lib/.server/llm/api-key.ts: Add getAWSCredentials function
- app/lib/.server/llm/constants.ts: Define MAX_TOKENS_BEDROCK
- app/lib/.server/llm/model.ts: Implement getBedrockModel function
- app/lib/.server/llm/stream-text.ts: Use Bedrock-specific token limit
- app/routes/api.chat.ts: Update to support model selection
- app/utils/constants.ts: Add Bedrock model options
- package.json: Add @ai-sdk/amazon-bedrock dependency
- pnpm-lock.yaml: Update with new dependencies
2024-10-17 20:46:17 +09:00
..
components Added the ability to use practically any LLM you can dream of within Bolt.new 2024-10-13 13:53:43 -05:00
lib 🚀 [feat] Integrate Amazon Bedrock support 2024-10-17 20:46:17 +09:00
routes 🚀 [feat] Integrate Amazon Bedrock support 2024-10-17 20:46:17 +09:00
styles fix: remove monorepo 2024-09-25 19:54:09 +01:00
types fix: remove monorepo 2024-09-25 19:54:09 +01:00
utils 🚀 [feat] Integrate Amazon Bedrock support 2024-10-17 20:46:17 +09:00
entry.client.tsx fix(browser-extensions): don't render directly in body 2024-10-07 10:49:31 +02:00
entry.server.tsx fix(browser-extensions): don't render directly in body 2024-10-07 10:49:31 +02:00
root.tsx fix(browser-extensions): don't render directly in body 2024-10-07 10:49:31 +02:00