Skip to content

Consider automatically informing models about context usage #764

Description

@eb8680

The harness should include a handler that periodically injects context usage data into the most recent user or assistant message and injects a system prompt section encouraging models to proactively use their compaction machinery. We could also add a mandatory compaction threshold that forces a compaction tool call when more than a certain fraction is used.

Related to but distinct from #609 #698

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions