library · inferred from evidence
langchain-core
A core library for LangChain, with a version requirement for the fix.
- ValueError: create_tool_calling_agent requires .bind_tools on the LLM when using with_fallbacks
Wrapping a chat model with .with_fallbacks([fallback_model]) and passing the result to create_tool_calling_agent raised ValueError: This function requires a .bind_tools method be implemented on the LLM. The same error also hit AzureChatOpen
- Error in RootListenersTracer.on_chain_end callback: KeyError('answer') while streaming a RAG chain
Building a conversational RAG chatbot with create_retrieval_chain wrapped in RunnableWithMessageHistory (input_messages_key="input", history_messages_key="chat_history", output_messages_key="answer"). Calling astream() on the chain printed