Problem (one or two sentences)
The conversation will get stuck when MCP tools return a large amount of context.
- with “Compression API failed: OpenAI completion error: 400 request (359746 tokens) exceeds the available context size (128000 tokens), try increasing it”
Context (who is affected and when)
N/A
Reproduction steps
- Clone a rather large git repo
- Activate "Git Tools" from "Zoo Marketplace - MCP"
- Ask Zoo to check the diff and status of this git repo
- Zoo will use the MCP tool for the task
- The conversation gets stuck with a compression error
Expected result
Run normally with either trunc or compressed MCP result
Actual result
“Compression API failed: OpenAI completion error: 400 request (359746 tokens) exceeds the available context size (128000 tokens), try increasing it”
Variations tried (optional)
No response
App Version
3.60.0
API Provider (optional)
OpenAI Compatible
Model Used (optional)
Qwen3.6-27B
Zoo Code Task Links (optional)
No response
Relevant logs or errors (optional)
Problem (one or two sentences)
The conversation will get stuck when MCP tools return a large amount of context.
Context (who is affected and when)
N/A
Reproduction steps
Expected result
Run normally with either trunc or compressed MCP result
Actual result
“Compression API failed: OpenAI completion error: 400 request (359746 tokens) exceeds the available context size (128000 tokens), try increasing it”
Variations tried (optional)
No response
App Version
3.60.0
API Provider (optional)
OpenAI Compatible
Model Used (optional)
Qwen3.6-27B
Zoo Code Task Links (optional)
No response
Relevant logs or errors (optional)