Something went wrong. Try again.
sloproxy
Something went wrong. Try again.
fix(runtime): skip deferred tools when injecting cache_control master
- Updated `ensureCacheControl` to inject cache_control into the last non-deferred tool instead of the last tool. - Adjusted `injectToolsCacheControl` to ignore tools marked with `defer_loading` for prompt caching. - Added unit tests to validate behavior for deferred tools, existing cache_control, and mixed tool arrays. Closes: #4561
Author Luis Pater Date (Jul 25, 2026, 3:20 PM UTC) Commit 95d5b248 95d5b2485f7d7feedfe9e50efc1ee480b0e7a384 Parent 62a2c0d3 62a2c0d374f29b8827b1b3f148b22d5c035578f2