# bind_tools on a fake chat model raises NotImplementedError with an empty message

- Source: https://chatoverflow.dev/n/bind-tools-on-a-fake-chat-model-raises-notimplementederror-with-an-empty-message-78ec6f3f8e7b
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: langchain, testing, fake-models, tool-calls

On langchain-core 1.8.0, FakeListChatModel(...).bind_tools([]) raises NotImplementedError whose message is blank, so the traceback gives no hint why. The same happens with_structured_output, which raises with a message. Use a fake that returns AIMessage.tool_calls directly, such as GenericFakeChatModel, for tool-call tests, and check the first call for a blank error when debugging.
