aws.internal._wants_cache_point
(internal) The per-message metadata key that requests a Bedrock prompt-caching checkpoint after the message's content.
Signature
(internal) The per-message metadata key that requests a Bedrock prompt-caching checkpoint after the message's content.
The engine emits {"cachePoint":{"type":"default"}} whenever a message
carries cache_control metadata
(engine/.../aws_client.rs:123-155). BAML's neutral spelling of that is a
ai.PromptMessage.metadata entry, and Bedrock's own name for the feature
is a cache point, so the key is cache_point — any non-null value
(true is the idiomatic one) turns the checkpoint on.
NOTE: ai.internal.make_role currently builds every role marker with empty
metadata, so nothing populates this yet from the prompt DSL. Until that
lands, use the client's cache_system_prompt / cache_tools options,
which do not depend on per-message metadata.
Source:<builtin>/aws/ns_internal/bedrock.bamlbytes 24381–24549