langchain-ai / chat-langchain

https://chat.langchain.com
MIT License
4.97k stars 1.16k forks source link

Getting output twice please someone help me. Please check the screenshot of answer. Thanks to all #299

Closed MuhammadNaeem42 closed 3 months ago

MuhammadNaeem42 commented 3 months ago

Screenshot from 2024-04-06 03-28-40

iiitmahesh commented 3 months ago

Same issue here. Downgrade version langchain, it will solves the problem for the time being.

Core issue in ChatWindow.tsx import { RemoteRunnable } from "langchain/runnables/remote"; import { applyPatch } from "@langchain/core/utils/json_patch"; (working versions) langchain@0.1.26 @langchain/core@0.1.44

MuhammadNaeem42 commented 3 months ago

Thanks @iiitmahesh

luca-git commented 2 months ago

@iiitmahesh Won't compile using import { RemoteRunnable } from "langchain/runnables/remote"; in conda python. Besides, do you know which would be the python version to downgrade to? 0.1.26 is the js one.

luca-git commented 2 months ago

thanks! @iiitmahesh langchain 0.1.16 langchain-core 0.1.44 and applying this: https://github.com/langchain-ai/chat-langchain/pull/301/files/87f09408e685b76e5a146184a81a84f96cfcc603 finally worked for me!