llama.cpp/tools/server/public_simplechat/local.tools
hanishkvc c597572e10 SimpleChatTC:SimpleProxy: Use urlvalidator
Add --allowed.schemes config entry as a needed config.

Setup the url validator.

Use this wrt urltext, urlraw and pdf2text

This allows user to control whether local file access is enabled
or not. By default in the sample simpleproxy.json config file
local file access is allowed.
2025-12-04 19:41:39 +05:30
..
simpleproxy.json SimpleChatTC:SimpleProxy: Use urlvalidator 2025-12-04 19:41:39 +05:30
simpleproxy.py SimpleChatTC:SimpleProxy: Use urlvalidator 2025-12-04 19:41:39 +05:30
urlvalidator.py SimpleChatTC:SimpleProxy: Use urlvalidator 2025-12-04 19:41:39 +05:30