mirror of
https://github.com/langchain-ai/create-agent-chat-app.git
synced 2026-07-19 15:13:44 -04:00
[GH-ISSUE #34] Testing with HumanInTheLoopMiddleware agent #13
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @gregmercer on GitHub (Nov 4, 2025).
Original GitHub issue: https://github.com/langchain-ai/create-agent-chat-app/issues/34
I've been trying to test with the following agent code that has a human-in-the-loop interrupt.
In the chat it pauses on the interrupt, and I chat back with the word 'approve'.
But the agent doesn't seem to go ahead with running the correct sql query. It seems to get stuck in a loop asking for approval to run a sql query.
Any ideas on what I am doing wrong or something I could try? Thanks.
BTW... this same agent code seems to work with the Langsmith studio chat if I reply back with this:
{"decisions": [{"type": "approve"}]}
I also tried that however with the create-agent-chat-app... but that didn't seem to help.
Testing with HumanInTheLoopMiddleware agentto [GH-ISSUE #34] Testing with HumanInTheLoopMiddleware agent