bolt.new/app/routes
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
..
_index.tsx feat: remove authentication (#1) 2024-09-26 17:45:41 +01:00
api.chat.ts 🚀 [feat] Integrate Amazon Bedrock support 2024-10-17 20:46:17 +09:00
api.enhancer.ts feat: remove authentication (#1) 2024-09-26 17:45:41 +01:00
chat.$id.tsx feat: remove authentication (#1) 2024-09-26 17:45:41 +01:00