nsarrazin HF staff commited on
Commit
140086b
1 Parent(s): a7dc1aa

remove logs for parsing

Browse files
src/lib/server/websearch/runWebSearch.ts CHANGED
@@ -63,7 +63,7 @@ export async function runWebSearch(
63
  text = await parseWeb(link);
64
  appendUpdate("Browsing webpage", [link]);
65
  } catch (e) {
66
- console.error(`Error parsing webpage "${link}"`, e);
67
  }
68
  const MAX_N_CHUNKS = 100;
69
  const texts = chunk(text, CHUNK_CAR_LEN).slice(0, MAX_N_CHUNKS);
 
63
  text = await parseWeb(link);
64
  appendUpdate("Browsing webpage", [link]);
65
  } catch (e) {
66
+ // ignore errors
67
  }
68
  const MAX_N_CHUNKS = 100;
69
  const texts = chunk(text, CHUNK_CAR_LEN).slice(0, MAX_N_CHUNKS);