Commit Graph

9 Commits

Author SHA1 Message Date
Maki
e5d16dffd8 🤖 [feat] Implement Gemini model integration
- Import Google Generative AI SDK
- Add getGeminiModel function to create Gemini model instances
- Update getModel function to support Gemini provider
2024-10-20 20:06:46 +09:00
Maki
7e0287f7f6 🔑 [feat] Add Gemini API key support
- Include Gemini API key in the getAPIKey function
- Allow retrieval of Gemini API key from environment variables
2024-10-20 20:06:40 +09:00
Maki
2470806696 🔑 [refactor] Improve API key and AWS credentials management
- Translate comments to English for consistency
- Add explanatory comment for AWS credentials function
- Refactor default region assignment with inline comment
2024-10-17 21:02:14 +09:00
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
Cole Medin
4f7a06f56a Added the OpenRouter provider and a few models from OpenRouter (easily extendable to include more!) 2024-10-14 19:40:21 -05:00
Cole Medin
90a206f2d4 Added the ability to use practically any LLM you can dream of within Bolt.new 2024-10-13 13:53:43 -05:00
Sam Denty
31c07c06cb fix(npm): fix hanging shells (#159) 2024-10-07 16:24:29 +02:00
Sam Denty
2a29fbbe82 feat: remove authentication (#1) 2024-09-26 17:45:41 +01:00
Sam Denty
6fb59d2bc5 fix: remove monorepo 2024-09-25 19:54:09 +01:00