bodhi-realtime-agent / CachePrefixMutationError
Class: CachePrefixMutationError
Defined in: src/core/errors.ts:81
Thrown by an OpenAI Realtime transport configured with cacheConfig.enforcePrefixStability: true when a connected, non-transfer updateSession() or transferSession() call would mutate the cache prefix (instructions or tools). Pre-connect mutations are always allowed; same- canonical-prefix calls do not throw.
Extends
Constructors
Constructor
new CachePrefixMutationError(
message,options?):CachePrefixMutationError
Defined in: src/core/errors.ts:82
Parameters
message
string
options?
cause?
Error
severity?
Returns
CachePrefixMutationError
Overrides
Properties
cause?
readonlyoptionalcause?:Error
Defined in: src/core/errors.ts:12
Inherited from
component
readonlycomponent:string
Defined in: src/core/errors.ts:10
Inherited from
severity
readonlyseverity:ErrorSeverity
Defined in: src/core/errors.ts:11