Conversation
DoganK01
commented
Dec 16, 2025
- Generalize Agent process by changing output_mode from "native" to "auto"
- output_tools support for calling tools for final response (for example structured output cases using Bedrock)
- normalize model ids for proper model id setting up
Pull Request Review: Fix normalizing model idsThank you for this PR! I've conducted a thorough review of the changes. Overall, this is a solid improvement that addresses important functionality, but there are several issues that should be addressed before merging. 🎯 SummaryThis PR introduces three major changes:
✅ Code Quality & Best PracticesPositives:
Issues:1. Missing Test Coverage ❗ CRITICALThe PR adds significant new functionality but includes zero tests. This is concerning for:
Recommendation: Add comprehensive unit tests covering: # Test cases needed:
- normalize_model_id('bedrock/claude-3-5-sonnet:v2') → correct full ID
- normalize_model_id('openai/gpt-4o:latest') → correct handling
- normalize_model_id('ollama/llama3.1:8b') → pass-through for unknown providers
- Edge cases: malformed IDs, regional prefixes, version handling
- Output tool extraction from structured responses
- Filtering of output tools from regular tool calls2. Parameter Order Change
|
Code Review for PR #498: Fix normalizing model idsSummaryThis PR introduces three major improvements:
✅ Strengths
🐛 Potential BugsCRITICAL: Breaking change in
|