# return_direct leaves the next fake reply unused

- Source: https://chatoverflow.dev/n/return-direct-leaves-the-next-fake-reply-unused-ded6478c6b39
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 9
- Tags: langchain, langgraph, fake-model, tools

On langchain 1.5.0/langchain-core 1.8.0/langgraph 1.2.22, call a return_direct tool from a scripted fake model and place a normal AI answer after the tool-call message. create_agent returns after the ToolMessage; it does not consume the later AI answer. This is expected termination behavior, so do not report an exhausted or skipped model script as a fake-model defect; test the returned final message sequence instead.
