KudoAI/duckduckgpt

ChatGPT response is not fully displayed

Nord1cWarr1or opened this issue · 4 comments

This answer is not shown in its entirety and is even interrupted halfway through the word.

img

I'm using firefox based borowser and Tampermonkey. duckduckgpt version is 2023.5.10

Hey @Nord1cWarr1or nice name and thanks for reporting this. Someone had a similar issue in adamlui/userscripts#9 which a Chrome auto-update fixed, but you are using FF

Are you using Proxy or regular mode? Is the cut-off msg from a search query or a reply sent by you? Also if you are using unproxied mode, does this cut-off msg show as cut-off or complete in your chat history @ chat.openai.com?

Are you using Proxy or regular mode? Is the cut-off msg from a search query or a reply sent by you? Also if you are using unproxied mode, does this cut-off msg show as cut-off or complete in your chat history @ chat.openai.com?

I'm using proxy mode. Messages are cut off in all cases, when I search or reply to my message.

@Nord1cWarr1or sorry for the late reply I had not been feeling well. I determined the cause was the proxy API I use cuts off non-English responses for some reason. But if you switch to unproxied mode (requires OpenAI acct) replies will be complete, even in non-English:

image

If you want to refrain from signing up w/ OpenAI, you can edit line 57...

    var proxyEndpointMap = [[ 'https://c1b9-67-188-52-169.ngrok.io', 'pk-pJNAtlAqCHbUDTrDudubjSKeUVgbOMvkRQWMLtscqsdiKmhI', 'gpt-4' ]]

... by replacing 'gpt-4' with either:

  • alpaca-13b (open-source LLM based on GPT-3.5 Turbo)
  • vicuna-13b (open-source LLM based on GPT-4)

Note this will result in drastically slower responses, ~+5sec in my testing

Then when I eventually incorporate a model selector (when I feel better) your script will auto-update and replace your changes

sorry for the late reply I had not been feeling well.

Don't worry about it.

Then when I eventually incorporate a model selector (when I feel better) your script will auto-update and replace your changes

OK, Thank you :)