Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 🚀 Integrate Amazon Bedrock Support2 #733

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Commits on Oct 13, 2024

  1. Configuration menu
    Copy the full SHA
    90a206f View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2024

  1. Added the OpenRouter provider and a few models from OpenRouter (easil…

    …y extendable to include more!)
    coleam00 committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    4f7a06f View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2024

  1. 🚀 [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
    Sunwood-ai-labs committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    d86eaa4 View commit details
    Browse the repository at this point in the history
  2. 🔑 [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
    Sunwood-ai-labs committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    2470806 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2024

  1. 📚 [docs] Remove fork-specific information from README

    - Deleted references to fork by Cole Medin
    - Removed information about choosing LLM models
    - Maintained focus on original Bolt.new project description
    Sunwood-ai-labs committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    2c1045a View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2024

  1. 🔑 [feat] Add Gemini API key support

    - Include Gemini API key in the getAPIKey function
    - Allow retrieval of Gemini API key from environment variables
    Sunwood-ai-labs committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    7e0287f View commit details
    Browse the repository at this point in the history
  2. 🤖 [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
    Sunwood-ai-labs committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    e5d16df View commit details
    Browse the repository at this point in the history
  3. 📋 [feat] Add Gemini models to MODEL_LIST

    - Include Gemini 1.5 Pro and Flash models in the available model options
    - Add latest and stable versions for both Gemini 1.5 Pro and Flash
    Sunwood-ai-labs committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    bada1b5 View commit details
    Browse the repository at this point in the history
  4. 📦 [chore] Add @ai-sdk/google dependency

    - Include @ai-sdk/google package version 0.0.52 for Gemini integration
    Sunwood-ai-labs committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    0a7f92c View commit details
    Browse the repository at this point in the history
  5. 🔒 [chore] Update pnpm-lock.yaml with new dependencies

    - Add @ai-sdk/google package and its dependencies to the lock file
    - Ensure consistent package versions across the project
    Sunwood-ai-labs committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    8b3b78a View commit details
    Browse the repository at this point in the history
  6. 📝 [docs] Update repository URL in clone instructions

    - Replace old URL (https://github.com/coleam00/bolt.new-any-llm.git) with new URL (https://github.com/stackblitz/bolt.new)
    - Improve documentation accuracy for users setting up the project
    Sunwood-ai-labs committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    e141171 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2024

  1. 🔐 [feat] Add AWS credentials configuration

    - Added AWS credential environment variables:
      - AWS_ACCESS_KEY_ID
      - AWS_SECRET_ACCESS_KEY
      - AWS_REGION
    - Enables AWS service integration capabilities
    Sunwood-ai-labs committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    9e5e73a View commit details
    Browse the repository at this point in the history