Files
crewAI/lib
Joao Moura 126d0010ba fix: summary tag handling, TUI autocomplete focus, tool output flooding
1. Summary tags: Reverse the logic — for models like gpt-4.1 that wrap
   their actual response in <summary> tags (with thinking/CoT before it),
   extract the inner content instead of stripping it. Streaming uses a
   preflight buffer that waits for <summary>; if none appears, flushes
   everything normally.

2. TUI autocomplete: Change @mention accept key from Tab to right-arrow
   so autocomplete doesn't steal focus from the input widget. Only
   triggers when there's an active mention context with matches.

3. Tool output: Truncate tool results >4000 chars in LLM message history
   to prevent the model from echoing full file contents. Add soul-layer
   instruction telling the agent to summarize tool results rather than
   repeating them verbatim.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-14 16:17:44 -04:00
..
2026-05-13 02:54:13 +08:00