fix(insights): treat loopback Ollama endpoints with a path as local (#354)

isLocalEndpoint anchored the URL end after the optional port, so a
loopback address with a path (http://localhost:11434/v1) showed the
remote-address privacy warning. Only the host decides locality.

Docs: no guide changes; the usage and AI Insights references describe
remote labeling, which is unchanged. TODO is unaffected.
1941537a5eSimone committed on 9/24/2026, 10:14:23 AM· committed by GitHubparent4bdb848
3 files changedLine totals unavailable