[GH-ISSUE #8695] [Feature]: Packages can mark the stable part of a prompt so providers cache it #8462

Closed
opened 2026-11-07 16:43:07 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @SpicyMarinara on GitHub (Nov 2, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8695

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Capability packages such as Otome Hearth send the same large context with each of many calls in a short time. Today a package's calls are never cached on Claude, even when the connection has prompt caching on: the capability language-model path passes no caching options.

Requested behaviour

  • A package can mark where the stable part of its prompt ends.
  • The Engine always caches marked package calls on providers that need an explicit request, such as Claude. This is the maintainer's decision.
  • Providers that cache identical prefixes on their own are unaffected.
  • Cached tokens are reported back to the package.

Requested by: Marinara (SpicyMarinara).

Originally created by @SpicyMarinara on GitHub (Nov 2, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8695 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Capability packages such as Otome Hearth send the same large context with each of many calls in a short time. Today a package's calls are never cached on Claude, even when the connection has prompt caching on: the capability language-model path passes no caching options. ## Requested behaviour - A package can mark where the stable part of its prompt ends. - The Engine always caches marked package calls on providers that need an explicit request, such as Claude. This is the maintainer's decision. - Providers that cache identical prefixes on their own are unaffected. - Cached tokens are reported back to the package. Requested by: Marinara (SpicyMarinara).
bsakaguchi 2026-11-07 16:43:07 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#8462
No description provided.