nomic-ai / gpt4all

GPT4All: Run Local LLMs on Any Device. Open-source and available for commercial use.
https://nomic.ai/gpt4all
MIT License
70.11k stars 7.66k forks source link

"retrieving localdocs: ..." spinning circle #1754

Open PedzacyKapec opened 10 months ago

PedzacyKapec commented 10 months ago

System Info

v2.5.4 win 10 Model: Openchat 3.5 -1210

Tried to stop it and didnt work. Pressing "stop generating" didnt work.

PS: Notice most of the time when the generation is finished it sort of hangs as it shows "stop generating" button so I assume its still generating....something, so this will be another recent model after

Information

Reproduction

  1. ask to write a code in python to read btc price
  2. once finished ask it a question about diference between api key and secret key OR "ok thanks"
  3. get the forever lasting spinning circle

Expected behavior

to answer question

cebtenzzre commented 10 months ago

I bet if you tried a console build you would find that there's a message about context limits. After making the context length configurable I've run into issues with this, even without Local Docs.

Or, maybe it is a Local Docs-specific issue, but it sounds like a bug either way.

jowu598 commented 9 months ago

I bet if you tried a console build you would find that there's a message about context limits. After making the context length configurable I've run into issues with this, even without Local Docs.

Or, maybe it is a Local Docs-specific issue, but it sounds like a bug either way.

I have same issue when model swith ChatGPT-3.5-turbo and I got some error message:

[Warning] (Wed Jan 3 11:02:21 2024): WARNING: Could not download models.json synchronously
[Debug] (Wed Jan 3 11:02:21 2024): deserializing chats took: 0 ms
[Warning] (Wed Jan 3 11:02:25 2024): "Could not convert argument 0 at"
[Warning] (Wed Jan 3 11:02:25 2024):     "expression for globalPoint@qrc:/gpt4all/main.qml:860"
[Warning] (Wed Jan 3 11:02:25 2024): "Could not convert argument 0 at"
[Warning] (Wed Jan 3 11:02:25 2024):     "expression for globalPoint@qrc:/gpt4all/main.qml:860"
[Warning] (Wed Jan 3 11:02:25 2024): "Could not convert argument 0 at"
[Warning] (Wed Jan 3 11:02:25 2024):     "expression for globalPoint@qrc:/gpt4all/main.qml:860"
[Warning] (Wed Jan 3 11:02:25 2024): qrc:/gpt4all/main.qml:860: TypeError: Passing incompatible arguments to C++ functions from JavaScript is not allowed.
[Warning] (Wed Jan 3 11:02:25 2024): "Could not convert argument 0 at"
[Warning] (Wed Jan 3 11:02:25 2024):     "expression for globalPoint@qrc:/gpt4all/main.qml:860"
[Warning] (Wed Jan 3 11:02:25 2024): "Could not convert argument 0 at"
[Warning] (Wed Jan 3 11:02:25 2024):     "expression for globalPoint@qrc:/gpt4all/main.qml:860"
[Warning] (Wed Jan 3 11:02:25 2024): "Could not convert argument 0 at"
[Warning] (Wed Jan 3 11:02:25 2024):     "expression for globalPoint@qrc:/gpt4all/main.qml:860"
[Warning] (Wed Jan 3 11:02:25 2024): qrc:/gpt4all/main.qml:860: TypeError: Passing incompatible arguments to C++ functions from JavaScript is not allowed.