Expand description
Prompt-caching settings and priority resolution.
Defines the hierarchy by which effective prompt-caching state is determined for any given request:
request_override → session_override → user_setting → global_setting
(highest priority) (lowest priority)Structs§
- Effective
Prompt Caching - Effective prompt-caching value and its authoritative source.
- User
Prompt Caching Settings - Stored per-user prompt-caching preferences.
Enums§
- Caching
Scope - Granularity at which prompt-caching preference is expressed.
- Prompt
Caching Source - Source that supplied the effective prompt-caching value.
Functions§
- resolve_
effective_ caching - Resolve the effective prompt-caching flag for a request.