This commit is contained in:
geoffsee
2025-05-23 09:48:26 -04:00
commit 66d3c06230
84 changed files with 6529 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
script({
isSystem: true
})
import {SearxngClient} from "@agentic/searxng";
import ky from 'ky';
const kyWithHeaders = ky.create({
referrerPolicy: "unsafe-url",
headers: {
'Authorization': 'Basic ' + btoa(`admin:${process.env.SEARXNG_PASSWORD}`),
}
});
const searxng = new SearxngClient({ky: kyWithHeaders});
defTool(searxng)