omp packages

@kushagharahi/pi-llama-extensions0.2.0

Pi extension for llama.cpp — live tokens/second and prompt processing % in the TUI

kushagharahi Published 6 days ago ~96 downloads/mo

Untested on omp

This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.

Did it work for you?

Result

One report per person. A new report replaces your old one.

Reports 0

No reports yet.

Readme

Pi extension for llama.cpp

npm version

Features

  • Performance metrics in the Pi TUI (via Pi's provider_stream_event hook — no fetch monkey-patching)
    • Live Prompt Processing % indicator while prefilling context
    • Tokens/second (Out decode + In prompt eval) in the status footer

Note: Router model auto-discovery (llama-cpp-auto.ts in v0.1.0) is now built directly into @earendil-works/pi-coding-agent (builtin:llama.cpp) via LLAMA_BASE_URL and /llama.

Quick start

pi install npm:@kushagharahi/pi-llama-extensions

Point Pi at your llama-server router:

export LLAMA_BASE_URL=http://127.0.0.1:8080
pi

Debug

Set LLAMA_CPP_EXTENSION_DEBUG=1 to enable verbose logging to /tmp/llama-cpp-tps.log.