Skip to content

fix(engine): extract clean text from MCP tool results instead of stri… - #133

Merged
Asaf-prog merged 2 commits into
extra-org:mainfrom
Rsakhuja:fix/mcp-tool-result-corruption
Sep 1, 2026
Merged

Asaf-prog merged 2 commits into
extra-org:mainfrom
Rsakhuja:fix/mcp-tool-result-corruption

Conversation

@Rsakhuja

@Rsakhuja Rsakhuja commented Sep 1, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #132

Flattens the nested if/elif inside the content-block loop in
_extract_result_text into a small _block_text helper, separating "what
shape is the content" from "what does one block mean."
@Asaf-prog
Asaf-prog merged commit c8667a4 into extra-org:main Sep 1, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MCP tool results are corrupted before reaching the model

2 participants