fix(benchmark): scheme validation to ollama-url (closes #166) (#274)
Add urllib.parse.urlparse to benchmark-local.py and validate that the provided --ollama-url uses either the http or https scheme. Fix arbitrary URI handling where the script could previously access local files (file://) or other unsupported protocols. If the scheme is invalid, parser.error is called to exit cleanly with a clear message.
T
Tanmay Garg committed
08f0daffbb6a8f5d1d7081e76d8829040d3bed96
Parent: 7b21459
Committed by GitHub <noreply@github.com>
on 6/23/2026, 10:44:47 PM