mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-09-07 00:24:17 +08:00
- 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
11 KiB
11 KiB