Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

[Task]: unify prompt caching behavior - Anthropic vs Anthropic through OpenRouter #942

@kantord

Description

@kantord

Description

blocked by #892

This feature might have limited usefulness, as it should only impact situations where the "integration" (AI tool) does not support prompt caching through OpenRouter. So far we only identified "Continue" as having this problem. (See more here: https://docs.google.com/document/d/1gEgkIyT1CRcTMAwYiU6ldeeosKKbWMX5HM8AdQx3xV0/edit?tab=t.0#heading=h.9nmo8mvyk6k9)

Nevertheless, CodeGate could technically "normalize"/override the requests in some way that prompt caching is properly supported regardless of how Continue (or any CodeGate integration) behaves out of the box

Additional Context

internal document about prompt caching: https://docs.google.com/document/d/1gEgkIyT1CRcTMAwYiU6ldeeosKKbWMX5HM8AdQx3xV0/edit?tab=t.0#heading=h.9nmo8mvyk6k9

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions