Skip to content

feat: analysis / logging #56

@Classic298

Description

@Classic298

during our usage, we notice GPT models get proper cached tokens

but claude models always only do expensive cache_writes but never cache_reads, which means you pay for cache creation and never benefit from it

i'd like a way to log the object that's being sent to the upstream API to be LOGGED somehow somewhere so i can analyze what is being sent from the computer server.

Claude models are very very strict on caching. The entire thing needs to be fully immutable. if anything is altered, including user message itself, you will break cache hit on subsequent prompts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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