• Samrat Jha's avatar
    Add support for Amazon Bedrock provider (#1185) · 938595aa
    Samrat Jha 提交于
    - follows existing patterns for AI SDK to provide Bedrock integration
    - Uses Bedrock's API token feature for authentication which provides a
    standard experience
    - bedrock provided models match the Anthropic provided models (for now)
    
    
    **Disclaimer**: The contributing docs are extremely sparse. I don't
    actually know how to build this and get this running in Electron
    
    
    ## Testing
    
    - AWS Bedrock provider is available for selection
    <img width="994" height="496" alt="image"
    src="https://github.com/user-attachments/assets/3cb21fed-9826-40e5-8019-b2b5df5e873b"
    />
    
    - The provider settings also show the right models and offer the right
    env variable to use
    <img width="949" height="862" alt="image"
    src="https://github.com/user-attachments/assets/8c23d5c8-d84d-4bf7-856a-8dc8d9d6c4b4"
    />
    
    
        
    <!-- This is an auto-generated description by cubic. -->
    ---
    
    ## Summary by cubic
    Adds AWS Bedrock as a provider so users can run Claude models via
    Bedrock with API token authentication. The settings now list Bedrock
    with supported models and a new env var.
    
    - New Features
    - New provider: bedrock using @ai-sdk/amazon-bedrock, wired into model
    client and schemas.
    - Models: Claude 4 Sonnet, Claude 3.7 Sonnet, Claude 3.5 Sonnet (Bedrock
    model IDs).
    - Settings: shows AWS Bedrock with correct models and env var
    AWS_BEARER_TOKEN_BEDROCK.
      - Default region: us-east-1.
    
    - Migration
      - Set AWS_BEARER_TOKEN_BEDROCK with your Bedrock API token.
      - Select AWS Bedrock in settings and pick a model.
    
    <!-- End of auto-generated description by cubic. -->
    Co-authored-by: 's avatarSamrat Jha <samratj@amazon.com>
    Co-authored-by: 's avatarWill Chen <willchen90@gmail.com>
    938595aa
名称
最后提交
最后更新
..
__tests__ 正在载入提交数据...
app 正在载入提交数据...
atoms 正在载入提交数据...
client_logic 正在载入提交数据...
components 正在载入提交数据...
constants 正在载入提交数据...
contexts 正在载入提交数据...
db 正在载入提交数据...
hooks 正在载入提交数据...
ipc 正在载入提交数据...
lib 正在载入提交数据...
main 正在载入提交数据...
neon_admin 正在载入提交数据...
pages 正在载入提交数据...
paths 正在载入提交数据...
prompts 正在载入提交数据...
routes 正在载入提交数据...
shared 正在载入提交数据...
store 正在载入提交数据...
styles 正在载入提交数据...
supabase_admin 正在载入提交数据...
utils 正在载入提交数据...
backup_manager.ts 正在载入提交数据...
main.ts 正在载入提交数据...
preload.ts 正在载入提交数据...
renderer.tsx 正在载入提交数据...
router.ts 正在载入提交数据...