SimpleChatTC:WebFetch: Update to use internal SimpleProxy.py

This commit is contained in:
hanishkvc 2025-10-16 19:02:55 +05:30
parent 3bab4de0e8
commit c25b1968cd
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ let weburlfetch_meta = {
*/
function weburlfetch_run(toolcallid, toolname, obj) {
if (gToolsWorker.onmessage != null) {
let newUrl = `http://127.0.0.1:3128/?path=${obj.url}`
let newUrl = `http://127.0.0.1:3128/urlraw?url=${obj.url}`
fetch(newUrl).then(resp=>resp.text()).then(data => {
gToolsWorker.onmessage(new MessageEvent('message', {data: {id: toolcallid, name: toolname, data: data}}))
}).catch((err)=>{