Skip to content

The task can not continue when a tool call returns too much dataΒ #6463

@BHznJNs

Description

@BHznJNs

App Version

3.25.3

API Provider

OpenAI Compatible

Model Used

GLM-4.5

Roo Code Task Links (Optional)

https://app.roocode.com/share/4e71e059-4080-455a-b6fc-053edf113c7a

πŸ” Steps to Reproduce

  1. Windows 11 24H2, extension version 3.25.3
  2. When the model try to use obsidian_simple_search, the tool returns too much of data, which makes the context exceeds the model's context limit (131072)
  3. The task can not be continued.
  4. In this situation, if I try to use the current provider setting to perform a context compression, it will keeps the context condense state for a long time.

πŸ’₯ Outcome Summary

When the tool call result may makes the context exceeds the model's context window limit, try to compress the result first, then push it into the messages and continue the task.

πŸ“„ Relevant Logs or Errors (Optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue - Needs ScopingValid, but needs effort estimate or design input before work can start.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions