chat-ui icon indicating copy to clipboard operation
chat-ui copied to clipboard

Web searching not working

Open alsoasnerd opened this issue 1 year ago • 5 comments

image

This issue happens with every query that I made.

alsoasnerd avatar Jun 08 '24 16:06 alsoasnerd

I get the same error from time to time. Increasing (or disabling) the timeout from this line is working for me:

https://github.com/huggingface/chat-ui/blob/bfd6b5f186ecc1fda862835cc1a60d962be81970/src/lib/server/websearch/scrape/scrape.ts#L61

And this and this fix as well

neven4 avatar Jun 11 '24 20:06 neven4

Not works for me. When I disable the timeout, I get "Generation Error" + the previous error "Error scraping webpage" Btw, sorry for my English

alsoasnerd avatar Jun 12 '24 14:06 alsoasnerd

Could you try fix from this PR?

It fixed all my problems with web search

neven4 avatar Jun 12 '24 15:06 neven4

Works! But now I have other issue. I'm using arch linux, so playwright doesn't works properly (I need to install a bunch of dependencies). How I can run chat-ui using docker in my local machine?

alsoasnerd avatar Jun 13 '24 17:06 alsoasnerd

There are many problems due to playwright in offline environment. I need an option to turn it on and off.

calycekr avatar Jun 21 '24 07:06 calycekr