Skip to content

feat: restore ollama-tailnet provider for pi - #48

Merged
wu-json merged 1 commit into
mainfrom
feat/pi-ollama-tailnet
Nov 1, 2026
Merged

wu-json merged 1 commit into
mainfrom
feat/pi-ollama-tailnet

Conversation

@wu-json

@wu-json wu-json commented Nov 1, 2026

Copy link
Copy Markdown
Owner

Restores the ollama-tailnet pi provider (removed in 72e91d7) so pi can run models served from the studio via ollama_tailnet up.

  • Models are auto-discovered from the studio's /api/tags (tool-capable only), cached, and refreshed in the background on startup — same as the local ollama provider.
  • The tailnet hostname is resolved at runtime from tailscale status --json (MagicDNS suffix), with an OLLAMA_TAILNET_URL override, rather than hardcoded in this public repo. If Tailscale isn't available, the provider is skipped.
  • Adds ollama-tailnet/* to enabledModels.

🤖 Generated with Claude Code

Re-adds the ollama-tailnet provider so pi can use models served from the
studio via `ollama_tailnet up`. The tailnet hostname is resolved at runtime
from `tailscale status --json` (or OLLAMA_TAILNET_URL) instead of being
hardcoded, so it stays out of this public repo.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@wu-json
wu-json merged commit 14c1946 into main Nov 1, 2026
1 check passed
@wu-json
wu-json deleted the feat/pi-ollama-tailnet branch November 1, 2026 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant