Skip to content

超过50k上下文时,会重复返回,像是死循环,只能主动关闭 #417

@Pateo-zhujie

Description

@Pateo-zhujie

powershell输出如下:

### [WORKING MEMORY]
<history>
[USER]: 检查下当前已完成的任务和未完成的任务
[Agent] 直接回答了用户问题
[Agent] 直接回答了用户问题
[Agent] 直接回答了用户问题
[USER]: 检查下当前已完成的任务和未完成的任务
[Agent] 调用工具code_run, args: {'script': "import o ... '{subindent}{file}')", 'type': 'python'}
[Agent] 调用工具file_read, args: {'path': 'D:\\Appli ... ricAgent\\GenericAgent\\temp\\TODO.txt'}
[Agent] 调用工具code_run, args: {'script': '# 统计报告数量 ...    print(f"  - {f}")', 'type': 'python'}
[Agent] 调用工具code_run, args: {'script': '# 统计报告数量 ...    print(f"  - {f}")', 'type': 'python'}
[Agent] 调用工具code_run, args: {'script': '# 统计报告数量 ...    print(f"  - {f}")', 'type': 'python'}
[Agent] 调用工具code_run, args: {'script': '# 统计报告数量 ...    print(f"  - {f}")', 'type': 'python'}
[Agent] 调用工具code_run, args: {'script': '# 统计报告数量 ...    print(f"  - {f}")', 'type': 'python'}
[Agent] 调用工具code_run, args: {'script': '# 统计报告数量 ...    print(f"  - {f}")', 'type': 'python'}
[Agent] 调用工具code_run, args: {'script': '# 统计报告数量 ...    print(f"  - {f}")', 'type': 'python'}
[Agent] 调用工具code_run, args: {'script': '# 统计报告数量 ...    print(f"  - {f}")', 'type': 'python'}
[Agent] 调用工具code_run, args: {'script': '# 统计报告数量 ...    print(f"  - {f}")', 'type': 'python'}
[Agent] 调用工具code_run, args: {'script': '# 统计报告数量 ...    print(f"  - {f}")', 'type': 'python'}
[Agent] 调用工具code_run, args: {'script': '# 统计报告数量 ...    print(f"  - {f}")', 'type': 'python'}
[Agent] 调用工具code_run, args: {'script': '# 统计报告数量 ...    print(f"  - {f}")', 'type': 'python'}
[Agent] 调用工具code_run, args: {'script': '# 统计报告数量 ...    print(f"  - {f}")', 'type': 'python'}
[Agent] 调用工具code_run, args: {'script': '# 统计报告数量 ...    print(f"  - {f}")', 'type': 'python'}
[Agent] 调用工具code_run, args: {'script': '# 统计报告数量 ...    print(f"  - {f}")', 'type': 'python'}
[Agent] 调用工具code_run, args: {'script': '# 统计报告数量 ...    print(f"  - {f}")', 'type': 'python'}
[Agent] 调用工具code_run, args: {'script': '# 统计报告数量 ...    print(f"  - {f}")', 'type': 'python'}
[Agent] 调用工具code_run, args: {'script': '# 统计报告数量 ...    print(f"  - {f}")', 'type': 'python'}
[Agent] 调用工具code_run, args: {'script': '# 统计报告数量 ...    print(f"  - {f}")', 'type': 'python'}
</history>
Current turn: 22

[Debug] Current context: 69562 chars, 48 messages.
[Cache] input=30336 cached=0
[Output] tokens=498
code run output:
自主报告总数: 26

报告列表:
//避免隐私暴露具体报告列表用...代替了
 ...
  - 总览_自主任务成果汇总.md

### [WORKING MEMORY]
<history>
[USER]: 检查下当前已完成的任务和未完成的任务
[Agent] 直接回答了用户问题
[Agent] 直接回答了用户问题
[Agent] 直接回答了用户问题
[USER]: 检查下当前已完成的任务和未完成的任务
[Agent] 调用工具code_run, args: {'script': "import o ... '{subindent}{file}')", 'type': 'python'}
[Agent] 调用工具file_read, args: {'path': 'D:\\Appli ... ricAgent\\GenericAgent\\temp\\TODO.txt'}
[Agent] 调用工具code_run, args: {'script': '# 统计报告数量 ...    print(f"  - {f}")', 'type': 'python'}
[Agent] 调用工具code_run, args: {'script': '# 统计报告数量 ...    print(f"  - {f}")', 'type': 'python'}
[Agent] 调用工具code_run, args: {'script': '# 统计报告数量 ...    print(f"  - {f}")', 'type': 'python'}
[Agent] 调用工具code_run, args: {'script': '# 统计报告数量 ...    print(f"  - {f}")', 'type': 'python'}
[Agent] 调用工具code_run, args: {'script': '# 统计报告数量 ...    print(f"  - {f}")', 'type': 'python'}
[Agent] 调用工具code_run, args: {'script': '# 统计报告数量 ...    print(f"  - {f}")', 'type': 'python'}
[Agent] 调用工具code_run, args: {'script': '# 统计报告数量 ...    print(f"  - {f}")', 'type': 'python'}
[Agent] 调用工具code_run, args: {'script': '# 统计报告数量 ...    print(f"  - {f}")', 'type': 'python'}
[Agent] 调用工具code_run, args: {'script': '# 统计报告数量 ...    print(f"  - {f}")', 'type': 'python'}
[Agent] 调用工具code_run, args: {'script': '# 统计报告数量 ...    print(f"  - {f}")', 'type': 'python'}
[Agent] 调用工具code_run, args: {'script': '# 统计报告数量 ...    print(f"  - {f}")', 'type': 'python'}
[Agent] 调用工具code_run, args: {'script': '# 统计报告数量 ...    print(f"  - {f}")', 'type': 'python'}
[Agent] 调用工具code_run, args: {'script': '# 统计报告数量 ...    print(f"  - {f}")', 'type': 'python'}
[Agent] 调用工具code_run, args: {'script': '# 统计报告数量 ...    print(f"  - {f}")', 'type': 'python'}
[Agent] 调用工具code_run, args: {'script': '# 统计报告数量 ...    print(f"  - {f}")', 'type': 'python'}
[Agent] 调用工具code_run, args: {'script': '# 统计报告数量 ...    print(f"  - {f}")', 'type': 'python'}
[Agent] 调用工具code_run, args: {'script': '# 统计报告数量 ...    print(f"  - {f}")', 'type': 'python'}
[Agent] 调用工具code_run, args: {'script': '# 统计报告数量 ...    print(f"  - {f}")', 'type': 'python'}
[Agent] 调用工具code_run, args: {'script': '# 统计报告数量 ...    print(f"  - {f}")', 'type': 'python'}
[Agent] 调用工具code_run, args: {'script': '# 统计报告数量 ...    print(f"  - {f}")', 'type': 'python'}
</history>
Current turn: 23

[Debug] Current context: 74353 chars, 50 messages.
Abort current task...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions