fix infer logic of agent_run_time from the attached input trainer - #6115
fix infer logic of agent_run_time from the attached input trainer#6115rsareddy0329 wants to merge 5 commits into
Conversation
|
Claude finished @rsareddy0329's task in 55s —— View job Code Review
The change is focused and correct: A couple of minor points, neither blocking: 1. Potential bedrock_cfg = resolved_agent.get("BedrockAgentCoreConfig", {})
lambda_cfg = resolved_agent.get("CustomAgentLambdaConfig", {})
2. Unit test relies on Overall this looks good to merge. The core fix is sound and well-tested. |
|
Claude finished @rsareddy0329's task in 43s —— View job Code Review
The core fix is sound: One point from the prior review is still unaddressed in the current diff: 1. bedrock_cfg = resolved_agent.get("BedrockAgentCoreConfig", {})
lambda_cfg = resolved_agent.get("CustomAgentLambdaConfig", {})
bedrock_cfg = resolved_agent.get("BedrockAgentCoreConfig") or {}
lambda_cfg = resolved_agent.get("CustomAgentLambdaConfig") or {}This is cheap insurance and the more likely-to-occur shape given only one config is populated at a time. Whether it's blocking depends on whether the producer can emit 2. (non-blocking) Unit test uses Otherwise this looks good — focused, backward compatible, and well tested. Note: the inline-comment tool wasn't available in this run, so findings are consolidated here with file/line references. |
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.