Skip to content

[FEATURE]: Bedrock prompt caching via cache_point_ttl provider option #23106

@bainos

Description

@bainos
  • I have verified this feature I'm about to request hasn't been suggested before.
    Bedrock prompt caching works but there is no way to configure the cache TTL from opencode. This adds a cache_point_ttl option to the Bedrock provider in opencode.json, accepting 5m or 1h. Tested on Haiku 4.5, Sonnet 4.5/4.6, Opus 4.5/4.6.

Metadata

Metadata

Assignees

Labels

coreAnything pertaining to core functionality of the application (opencode server stuff)

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions