Skip to content

Replace hardcoded model IDs with Agent() defaults#326

Open
karstenacheiver24 wants to merge 1 commit intostrands-agents:mainfrom
karstenacheiver24:313
Open

Replace hardcoded model IDs with Agent() defaults#326
karstenacheiver24 wants to merge 1 commit intostrands-agents:mainfrom
karstenacheiver24:313

Conversation

@karstenacheiver24
Copy link
Copy Markdown
Contributor

Remove specific model IDs from basic examples in evaluation, traces, logs, and conversation-management docs

  • Use Agent() with no model parameter to leverage Strands built-in defaults
  • Reduces maintenance burden when model IDs change
  • Keeps model-specific examples only where demonstrating model configuration

Fixes issue #313
Files changed
evaluation.md: 6 instances → Agent()
• traces.md: 3 instances → Agent()
• logs.md: 1 instance → Agent()
• conversation-management.md: 1 instance → Agent()
and removed model id parameters
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

- Remove specific model IDs from basic examples in evaluation, traces, logs, and conversation-management docs
- Use Agent() with no model parameter to leverage Strands built-in defaults
- Reduces maintenance burden when model IDs change
- Keeps model-specific examples only where demonstrating model configuration

Fixes issue strands-agents#313
params={"temperature": 0.1} # Low temperature for consistent summaries
)
custom_summarization_agent = Agent(model=summarization_model)
custom_summarization_agent = Agent()
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to stay, as it's using adjusted settings

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.

3 participants