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 Support #689

Closed

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