eemario opened a new issue, #1398:
URL: https://github.com/apache/flink-agents/issues/1398

   ### Search before asking
   
   - [x] I searched in the 
[issues](https://github.com/apache/flink-agents/issues) and found nothing 
similar.
   
   ### Description
   
   A chat request may trigger multiple model calls and tool executions. Without 
limits, a loop can continue indefinitely and consume unbounded resources.
   
   Add per-chat budget control as an initial step toward #1065:
   
   - Support turn, elapsed-time, and token limits. Multiple limits can be 
configured together; exhausting any limit triggers the configured behavior.
   - Support two exhaustion modes:
     - SOFT: allow one additional tool-free turn to produce a final answer.
     - HARD: fail the request when budget exhaustion is detected.
   - Provide job-level defaults and per-chat overrides.
   
   This issue focuses on individual chat loops. Shared budgets across agents or 
requests, window-based limits, and monetary cost limits are out of scope.
   
   ### Are you willing to submit a PR?
   
   - [x] I'm willing to submit a PR!


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