Skip to content

[Feature]: 工具结果返回驱逐后导致llm上下文超限 #2942

Description

@oyx888

agent调用工具如果是返回一长串json时,驱逐大结果工具会往文件中一行写入,导致read_file读取文件时只读取到一行导致llm上下文超限,read_file工具是在白名单内,从而导致agent运行不了

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions