pi-omlx-picker

Pi extension that discovers models from a local OMLX server and registers them as a native Pi provider.

Packages

Package details

extension

Install pi-omlx-picker from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-omlx-picker
Package
pi-omlx-picker
Version
0.2.5
Published
May 31, 2026
Downloads
613/mo · 48/wk
Author
dabvid
License
MIT
Types
extension
Size
40.6 KB
Dependencies
0 dependencies · 2 peers
Pi manifest JSON
{
  "extensions": [
    "./index.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

Pi OMLX Picker

Seamlessly integrate your local oMLX models into Pi.

This extension discovers models from a local OMLX server and registers them as native Pi providers. Switch between your local and remote models effortlessly using Pi's built-in /model command.

Pi OMLX Picker Demo

✨ Features

  • Auto discovery: fetches and registers available OMLX models without blocking Pi startup.
  • Native integration: login uses Pi's standard /login, and models use Pi's standard /model menu.
  • Smart overrides: applies per-request thinking controls based on each model's thinkingDefault metadata.

📦 Installation

pi install npm:pi-omlx-picker

🛠️ Development

  • npm install
  • npm run check
  • npm run format
  • npm test
  • npm run test:watch

🚀 Quick Start

  1. Start your local OMLX server.
  2. Run /login in Pi, choose API key, then choose OMLX.
  3. Enter your OMLX API key.
  4. Type /model to see and select your OMLX models.

The default base URL is http://127.0.0.1:8000/v1. Set OMLX_BASE_URL before starting Pi if your OMLX server uses a different URL.

⚙️ Configuration

Env-var overrides, model metadata overlay, and stream timeout knobs are documented in docs/CONFIGURATION.md.