Files
llmx/codex-rs/core/src
Gabriel Peal 6b0c486861 [MCP] Render full MCP errors to the model (#5298)
Previously, the model couldn't see why MCP tool calls failed, many of
which were the model using the parameters incorrectly. A common failure
is the model stringifying the json for the notion-update-page tool which
it then couldn't correct.

I want to do some system prompt massaging around this as well. However,
it is crucial that the model sees the error so it can fix it.

Before:
<img width="2984" height="832" alt="CleanShot 2025-10-17 at 13 02 36"
src="https://github.com/user-attachments/assets/709a3d27-b71b-4d8d-87b6-9b2d7fe4e6f2"
/>

After:
<img width="2488" height="1550" alt="CleanShot 2025-10-17 at 13 01 18"
src="https://github.com/user-attachments/assets/13a0b7dc-fdad-4996-bf2d-0772872c34fc"
/>

🎉 
<img width="1078" height="568" alt="CleanShot 2025-10-17 at 13 09 30"
src="https://github.com/user-attachments/assets/64cde8be-9e6c-4e61-b971-c2ba22504292"
/>


Fixes #4707
2025-10-17 17:47:50 -04:00
..
2025-10-14 17:50:00 +00:00
2025-10-08 17:13:49 -07:00
2025-09-22 20:10:52 -07:00
2025-10-14 17:50:00 +00:00
2025-10-05 21:12:31 +00:00
2025-10-09 16:01:01 +00:00
2025-09-24 15:31:27 +00:00
2025-09-18 14:14:16 -07:00
2025-10-03 11:17:39 +01:00
2025-09-10 17:38:11 -07:00
2025-09-02 17:29:58 +00:00