发布

  • remove read long content action (#4340)

    frostbyte_neo 发布于 2026-03-12 20:39:02 +00:00

    Summary by cubic

    Removed the read_long_content action and its model to simplify the API
    and avoid overlap. Updated the system prompt to use search_page for
    text, find_elements for structure/attributes, and mark find_elements
    as safe to chain.

    • Refactors

      • Deleted read_long_content action and ReadContentAction model.
    • Updated truncation note in file reads to reference extract with
      start_from_char.

    • Tweaked system_prompt.md: prefer search_page for text; use
      find_elements for structure/attributes; add find_elements to “Safe
      to chain”.

    • Migration

    • Replace read_long_content with extract, setting start_from_char
      to continue reading.

      • For short content, use read_file or page extraction.

    Written for commit a4cd7428f1.
    Summary will update on new commits.

    下载附件