[PR #319] [CLOSED] chat agent executor: catch parsing errors in tool calls #1379

Closed
opened 2026-02-20 17:44:35 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraph/pull/319
Author: @ccurme
Created: 4/17/2024
Status: Closed

Base: mainHead: cc/parsing_errors


📝 Commits (10+)

📊 Changes

4 files changed (+889 additions, -29 deletions)

View changed files

examples/agent_executor/agent_executor_comparison.ipynb (+764 -0)
📝 langgraph/prebuilt/chat_agent_executor.py (+25 -3)
📝 tests/__snapshots__/test_pregel.ambr (+23 -25)
📝 tests/test_pregel.py (+77 -1)

📄 Description

                         +-----------+
                         | __start__ |
                         +-----------+
                                *
                                *
                                *
                           +-------+
                           | agent |*
                       ****+-------+ ****
                   ****          *       ****
               ****              *           ****
             **                   *              ****
+-----------------+               *                  **
| should_continue |**            *                    *
+-----------------+  ********    *                    *
           *       ***       ********                 *
            *         ****      *    ********         *
            *             **   *             ****     *
      +---------+         +-------+             +--------+
      | __end__ |         | retry |             | action |
      +---------+         +-------+             +--------+

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/langgraph/pull/319 **Author:** [@ccurme](https://github.com/ccurme) **Created:** 4/17/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `cc/parsing_errors` --- ### 📝 Commits (10+) - [`fab3983`](https://github.com/langchain-ai/langgraph/commit/fab39836c85ed9b9c60c9596759bc3f678fd4a60) update chat agent executor - [`5cf023d`](https://github.com/langchain-ai/langgraph/commit/5cf023db57d09b517dbf6b61701e29667186ac0e) merge - [`b23c2ae`](https://github.com/langchain-ai/langgraph/commit/b23c2ae0b45d10b550f38dc8d11c3a930cbcd38b) format - [`1eaed8a`](https://github.com/langchain-ai/langgraph/commit/1eaed8a6de4c370ec55ae1860680428d3ba52fc4) update snapshot - [`bac2621`](https://github.com/langchain-ai/langgraph/commit/bac26213e949a78c10606a1b2c96faf6cb964f80) update snapshot - [`a4d5885`](https://github.com/langchain-ai/langgraph/commit/a4d5885b6354697a8fddcdddd1598bd6958b4a19) remove flaky test - [`4f0e3c1`](https://github.com/langchain-ai/langgraph/commit/4f0e3c13e79e43d751aa3426945b21a63e199064) update to take list - [`69a99db`](https://github.com/langchain-ai/langgraph/commit/69a99dbba092fd4bbab32e2ec8af65ff6dd9e8b7) add comparison notebook - [`d7b28cb`](https://github.com/langchain-ai/langgraph/commit/d7b28cb81967bd8b7116249d804c298cba78d9c7) Merge branch 'main' into cc/parsing_errors - [`c20f1e4`](https://github.com/langchain-ai/langgraph/commit/c20f1e4b95b2800ac417ad00f384311b0a8a048c) update snapshot ### 📊 Changes **4 files changed** (+889 additions, -29 deletions) <details> <summary>View changed files</summary> ➕ `examples/agent_executor/agent_executor_comparison.ipynb` (+764 -0) 📝 `langgraph/prebuilt/chat_agent_executor.py` (+25 -3) 📝 `tests/__snapshots__/test_pregel.ambr` (+23 -25) 📝 `tests/test_pregel.py` (+77 -1) </details> ### 📄 Description ``` +-----------+ | __start__ | +-----------+ * * * +-------+ | agent |* ****+-------+ **** **** * **** **** * **** ** * **** +-----------------+ * ** | should_continue |** * * +-----------------+ ******** * * * *** ******** * * **** * ******** * * ** * **** * +---------+ +-------+ +--------+ | __end__ | | retry | | action | +---------+ +-------+ +--------+ ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-20 17:44:35 -05:00
yindo closed this issue 2026-02-20 17:44:35 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraph#1379