Skip to content

Context length issue / better context inspector #2841

@geril07

Description

@geril07

There is an example of pretty simple session.json
There is a 1 call saying hello to the agent inside the opencode sources. And even with that, the context length is already 10k.
If I dump the entire session.json file into the OpenRouter chat, context length will be 5k, half of it.

Are there any hidden data sent to the provider/model which is not tracked inside session file?

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