Skip to content

The TapeFile cache will keep growing as the tape expands. #105

@hanxuanliang

Description

@hanxuanliang

Summary

As the title suggests: in a long-running conversation session where entries are continuously written to the same tape, even though TapeContext only uses after_last to limit the context size, from the perspective of the TapeFile cache layer, it permanently caches the entire history in the tape. Furthermore, _read_entries are not evicted during handoff. Could this cause a memory leak for the agent during long-term operation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions