Make agent and compaction model IDs configurable via SSM
This commit is contained in:
@@ -11,6 +11,7 @@ from bedrock_agentcore.runtime import BedrockAgentCoreApp
|
||||
from channels.telegram import TelegramAdapter
|
||||
from prompt_builder import build_system_prompt, invalidate_prompt
|
||||
import memory_manager
|
||||
import config
|
||||
from tools import web as web_tools
|
||||
from tools import workspace as ws_tools
|
||||
from tools import messaging
|
||||
@@ -378,7 +379,7 @@ async def main(payload: dict, context):
|
||||
# NOTE: extended thinking disabled — causes retry/duplicate issues with streaming
|
||||
from botocore.config import Config as BotoConfig
|
||||
model = BedrockModel(
|
||||
model_id="us.anthropic.claude-sonnet-4-6",
|
||||
model_id=config.AGENT_MODEL_ID,
|
||||
region_name="us-east-1",
|
||||
boto_client_config=BotoConfig(read_timeout=600, connect_timeout=10),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user