Firefox extension for client-side web search with llama.cpp's webui (and potentially other frontends) #18676
tbocek
started this conversation in
Show and tell
Replies: 1 comment
|
Hi there. Looks nice, will test. Thanks for sharing. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I built a Firefox extension that intercepts llama.cpp API calls and injects a
web_searchtool for client-side searching.Why? Server-side fetching gives you little control - you can't see what's being fetched, solve captchas, or navigate deeper when needed. Client-side search lets you see exactly what content is extracted, you can navigate further, or discard results before sending to the LLM.
How it works:
/v1/chat/completionsweb_searchtool call json into the requestThe sidebar shows the status for each tab that you can click to inspect or navigate.
GitHub: https://github.com/tbocek/llm-local-web-search
Still a prototype and only tested with llama-server, but should work with OpenAI-compatible backends.
Feedback highly appreciated.
All reactions