35 lines
530 B
Markdown
35 lines
530 B
Markdown
# pi-llm-performance
|
|
|
|
LLM performance metrics extension — captures and displays TTFT, prefill, and generation speeds from pi agent turns.
|
|
|
|
## Development
|
|
|
|
This package lives in the `pi-extensions` monorepo.
|
|
|
|
```bash
|
|
pnpm install # workspace setup
|
|
deno test # run tests
|
|
```
|
|
|
|
## Usage
|
|
|
|
Add to your pi settings (`~/.pi/agent/settings.json`):
|
|
|
|
```json
|
|
{
|
|
"packages": [
|
|
"../dev/spikes/llm/monotonic-pi-extensions/packages/pi-llm-performance"
|
|
]
|
|
}
|
|
```
|
|
|
|
Then reload pi:
|
|
|
|
```bash
|
|
/reload
|
|
```
|
|
|
|
## License
|
|
|
|
MIT
|