# fix\(insights\): treat loopback Ollama endpoints with a path as local \(\#354\) · lucenx/codexbar-plasma

[View on GitCafe](https://git.cafe/lucenx/codexbar-plasma/commit/1941537a5ed31331889e64ae075ca8017d4a9cf7)

Repository: [lucenx/codexbar-plasma](https://git.cafe/lucenx/codexbar-plasma)

Visibility: public

Requested revision: 1941537a5ed31331889e64ae075ca8017d4a9cf7

Requested commit: 1941537a5ed31331889e64ae075ca8017d4a9cf7

Commit: 1941537a5ed31331889e64ae075ca8017d4a9cf7

Tree: cdca91ae9faf02341cb0ea73cc28dd7443b08511

Author: Simone

Committer: GitHub

## Message

```
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.
```

## Parents

- [4bdb848b2c0c11a4e43d93dc9768ea9878bd171e](https://git.cafe/lucenx/codexbar-plasma/commit/4bdb848b2c0c11a4e43d93dc9768ea9878bd171e?format=markdown)

[Source at this commit](https://git.cafe/lucenx/codexbar-plasma/tree/1941537a5ed31331889e64ae075ca8017d4a9cf7?format=markdown)
