This commit is contained in:
2026-05-13 10:18:54 +03:00
parent cd8d2683c0
commit c5b61ee3d8
38 changed files with 3929 additions and 3718 deletions
+4 -3
View File
@@ -356,11 +356,12 @@ export async function webSearch(args?: Record<string, unknown>) {
note: "Use returned URLs as sources. Do not invent facts that are not present in the snippets/results.",
};
} catch (e: any) {
} catch (e: unknown) {
logError(e);
const status = e?.response?.status;
const data = e?.response?.data;
const axiosLike = e as {response?: {status?: unknown; data?: unknown}};
const status = axiosLike.response?.status;
const data = axiosLike.response?.data;
return {
ok: false,