Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: HKUDS/DeepCode
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: model-collapse/DeepCode
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 13 files changed
  • 2 contributors

Commits on Mar 5, 2026

  1. Add AWS Bedrock integration for Claude models

    Adds comprehensive AWS Bedrock support to DeepCode, enabling users to access Claude models through AWS infrastructure. This provides unified AWS billing, IAM-based security, and regional deployment flexibility.
    
    Key features:
    - Dual-layer integration (main workflows + nanobot)
    - AWS credential resolution with priority chain (IAM role → profile → explicit → env vars)
    - Model ID mapping (friendly names to full Bedrock IDs)
    - Streaming response support with tool calling
    - Exponential backoff retry logic
    - Comprehensive test suite (67 passing tests)
    
    New files:
    - utils/bedrock_utils.py - AWS credential helpers and utilities
    - utils/augmented_llm_bedrock.py - BedrockAugmentedLLM wrapper class
    - tests/test_bedrock_integration.py - Comprehensive test suite
    - docs/bedrock_setup_guide.md - User setup guide
    - docs/bedrock_config_reference.md - Configuration reference
    - docs/migrate_to_bedrock.md - Migration guide
    
    Modified files:
    - utils/llm_utils.py - Integrated Bedrock into factory pattern
    - requirements.txt - Added boto3 dependency
    - mcp_agent.config.yaml - Added Bedrock configuration section
    - mcp_agent.secrets.yaml - Added Bedrock credentials template
    - nanobot/nanobot/providers/registry.py - Added Bedrock ProviderSpec
    - nanobot/nanobot/config/schema.py - Extended ProvidersConfig
    - README.md - Added Bedrock to supported providers
    
    Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
    2 people authored and zirui-song-18 committed Mar 5, 2026
    Configuration menu
    Copy the full SHA
    09503f2 View commit details
    Browse the repository at this point in the history
Loading