发布

  • 0.5.8 ee708ee22c

    separate agent history and state (#2590)

    frostbyte_neo 发布于 2025-08-02 15:32:31 +00:00 | 5408 次提交 在此版本后已推送到 main

    Summary by cubic

    Separated agent history from agent state, moving history tracking to a
    dedicated attribute and updating all references. Screenshots are now
    stored on disk per step, and history items reference screenshot file
    paths instead of embedding base64 data.

    • Refactors
    • Agent history is now accessed via agent.history instead of
      agent.state.history.
    • Screenshots are saved to disk using a new ScreenshotService, and
      history items store file paths.
    • Updated all code, docs, and tests to use the new history and
      screenshot handling.
    下载附件