Skip to content

[Issue 20] Make bedrock model ID configurable#21

Merged
deeheber merged 3 commits intomainfrom
issue-20
Dec 18, 2025
Merged

[Issue 20] Make bedrock model ID configurable#21
deeheber merged 3 commits intomainfrom
issue-20

Conversation

@deeheber
Copy link
Owner

@deeheber deeheber commented Dec 18, 2025

🔧 Make Bedrock Model ID Configurable

Summary

Added environment variable configuration for Bedrock model ID to allow runtime model selection without code changes.

Changes Made

  • ✅ Added BEDROCK_MODEL_ID environment variable support
  • ✅ Created get_model_id() function with fallback to default model
  • ✅ Updated agent initialization to use configurable model ID
  • ✅ Added logging to show which model is being used
  • ✅ Added fallback default model when no model provided

Configuration

Environment Variable: BEDROCK_MODEL_ID
Default: us.anthropic.claude-sonnet-4-5-20250929-v1:0

Local Development (.env file):

BEDROCK_MODEL_ID=us.anthropic.claude-3-5-sonnet-20241022-v2:0

fixes #20

@deeheber deeheber merged commit acc50c1 into main Dec 18, 2025
2 checks passed
@deeheber deeheber deleted the issue-20 branch December 18, 2025 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make the model configurable via environment variables

1 participant