pors / langchain-chat-websockets

LangChain LLM chat with streaming response over websockets
Apache License 2.0
87 stars 8 forks source link

ERROR:root:maximum recursion depth exceeded #1

Open azizultex opened 1 year ago

azizultex commented 1 year ago

I tried to use it but it keeps showing error:

> Entering new ConversationChain chain...
ERROR:root:maximum recursion depth exceeded

How I can fix this?

pors commented 1 year ago

Hi @azizultex! I can't reproduce this. Can you please provide the exact steps you took?

azizultex commented 1 year ago

Hi @pors I followed the readme file. Here is a short video: https://share.cleanshot.com/0x0JrhkQ

CleanShot 2023-06-03 at 14 11 42@2x CleanShot 2023-06-03 at 14 11 56@2x
pors commented 1 year ago

I still can't reproduce it. Cloning and installing from scratch.

I didn't see you do pip install -r requirements, are you sure all packages are correct?

What version of python do you use?

azizultex commented 1 year ago

Yes! I did. Here is the full video - https://share.cleanshot.com/Cl0KVRSB I was using Python 3.11.3

pors commented 1 year ago

Hmm, that is really weird. The only difference is that I use Python 3.10.9.

I see that someone had it before; see https://github.com/hwchase17/langchain/issues/4002

But that has been fixed. Maybe try installing the latest version of langchain?

pip install --upgrade langchain

SkillfulHacking commented 7 months ago

Oh wow I'm a winner go me lol, post reported.