gnodet-bot commented on PR #30542:
URL: https://github.com/apache/camel/pull/30542#issuecomment-7059595794

   **Missing coverage — `answered=false` fallback in `transcript()`**
   
   `transcript()` has a fallback for the case where none of the model-call 
steps has `outputMessages`:
   
   ```java
   if (!answered) {
       messages.addAll(messages(content.get("outputMessages")));
   }
   ```
   
   No test currently exercises this branch. This matters for model integrations 
that record the final answer on the agent run itself rather than on the last 
model call step (e.g. a single-step chat without nested steps). A minimal test: 
a run with one model-call step whose `outputMessages` is absent, but the run's 
own `content` has it.
   
   _This review was generated by an AI agent, Hermès on behalf of @gnodet._
   
   <!-- reviewer: gnodet-bot -->


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to