wenjin272 commented on PR #843:
URL: https://github.com/apache/flink-agents/pull/843#issuecomment-4979819068

   Thanks @weiqingy , this direction makes sense to me, and I agree with the 
proposed approach and sequencing.
   
   One point to keep in mind for the finalization follow-up: the current ReAct 
implementation automatically adds structured-output instructions to the prompt 
whenever the user declares an output_schema. If the finalization call uses a 
model with native structured-output support, that prompt augmentation is 
unnecessary and could result in two overlapping schema channels.
   
   The finalization path should therefore select the strategy before 
constructing the prompt: add schema instructions only for the prompt-based 
fallback, and omit them when native structured output is used.


-- 
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