@kushagharahi/pi-llama-extensions0.2.0
Pi extension for llama.cpp — live tokens/second and prompt processing % in the TUI
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.
Reports 0
No reports yet.
Readme
Pi extension for llama.cpp
Features
- Performance metrics in the Pi TUI (via Pi's
provider_stream_eventhook — nofetchmonkey-patching)- Live Prompt Processing % indicator while prefilling context
- Tokens/second (
Outdecode +Inprompt eval) in the status footer
Note: Router model auto-discovery (
llama-cpp-auto.tsin v0.1.0) is now built directly into@earendil-works/pi-coding-agent(builtin:llama.cpp) viaLLAMA_BASE_URLand/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.