Files
openclaw/docs
Peter Steinberger 3e351b718e fix(agents): honor OpenAI-compatible cache retention
Carry over #82973 and fix #81281 by preserving explicit cacheRetention for OpenAI-compatible completions providers that opt into prompt-cache-key support.

The change keeps explicit cacheRetention suppressed for OpenAI-compatible providers without compat.supportsPromptCacheKey, adds regression coverage for both paths, and updates prompt-caching docs for prompt_cache_key / prompt_cache_retention behavior.

Fixes #81281.
Supersedes #82973.

Co-authored-by: lonexreb <reach2shubhankar@gmail.com>
2026-05-27 13:21:23 +01:00
..
2026-05-23 11:58:29 +01:00
2026-05-07 19:43:06 -07:00
2026-05-22 22:58:27 +01:00
2026-05-08 06:01:23 +01:00
2026-05-18 06:22:36 +01:00