Spaces:
Running
Running
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 |
-
|
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);
|