leptonai/search_with_lepton

client-side exception has occurred

kalufinnle opened this issue · 4 comments

Tried deployment with GoogleSearch. I kept getting this error
Application error: a client-side exception has occurred (see the browser console for more information).

I found reason , if you use GoogleSearch , SourceItem have not get correct filed from result

sources.tsx
const SourceItem: FC<{ source: Source; index: number }> = ({
source,
index,
}) => {
const { id, name, url } = source; //google search return link , title, not have url.

......

I try to fix this issue, still working...

@stevensu1977 amazing. Thank you! Could you please share the solution with me once you have figured it out? Thanks a lot

already PR, or you can use my code fix this issue by yourself , :P .

Thanks @stevensu1977 , the fix worked for me, same problem using Google Search Engine. @Yangqing please help to merge this fix.