oyi77
f99c90dc85
feat(cache): add OpenAI prompt_cache_key and Gemini cachedContent support
Provider-specific caching enhancements:
OpenAI:
- Auto-generate prompt_cache_key from message prefix hash
- Key format: omni-{prefix_hash_32chars}
- Preserves client-provided keys (doesn't override)
Gemini:
- Preserve cachedContent ID if provided by client
- Enables explicit Gemini caching for long prompts
- cachedContentTokenCount already tracked in responses
2026-03-31 04:50:50 +07:00
..
2026-03-28 15:52:29 -03:00
2026-03-24 16:08:02 -03:00
2026-03-21 00:50:07 +08:00
2026-03-08 17:36:17 -03:00
2026-03-30 16:23:53 -04:00
2026-03-04 19:35:38 -03:00
2026-03-30 18:20:19 -03:00
2026-03-09 13:43:48 -03:00
2026-02-18 16:40:33 -03:00
2026-03-28 13:28:06 -03:00
2026-02-18 14:43:57 -03:00
2026-03-31 04:50:50 +07:00
2026-03-25 18:14:19 +03:00
2026-02-26 15:11:40 +00:00
2026-03-30 07:38:30 -03:00
2026-03-30 19:24:26 +02:00
2026-03-24 17:36:55 +08:00
2026-03-17 04:24:46 -03:00
2026-03-29 04:30:11 -03:00
2026-03-29 14:37:55 +02:00
2026-03-17 04:24:46 -03:00
2026-03-30 16:31:07 -04:00
2026-03-05 01:16:56 -03:00
2026-03-21 00:50:07 +08:00
2026-03-04 19:35:38 -03:00
2026-03-17 04:24:46 -03:00
2026-03-21 00:50:07 +08:00
2026-02-18 00:02:15 -03:00
2026-03-28 20:39:02 -03:00
2026-03-22 20:55:35 -03:00
2026-03-27 16:17:28 -03:00
2026-03-21 00:50:07 +08:00
2026-03-28 22:09:27 -03:00
2026-02-19 04:38:04 -03:00
2026-02-18 14:43:57 -03:00
2026-03-14 19:01:27 +01:00
2026-03-22 23:17:52 -03:00
2026-03-01 00:48:27 +07:00
2026-03-30 17:32:45 -03:00
2026-02-18 00:02:15 -03:00
2026-03-26 15:49:52 -03:00
2026-02-18 14:43:57 -03:00
2026-02-18 00:02:15 -03:00
2026-02-18 00:02:15 -03:00
2026-03-17 16:18:36 -03:00
2026-03-23 22:07:10 -03:00