repositories / pi-ext

pi-ext

bugabingas pi extensions

owned by bugabinga

extensions/model-info/README.md

Raw

model-info

Model and thinking telemetry for Pi.

Install / load

Loaded through the root pi-ext package. See root README.

Commands / tools / settings

Commands: none.

Tools: none.

Settings read: none.

Hooks:

Events emitted:

UI status:

Behavior

Shows current model id plus thinking level:

gpt-5.5:off
gpt-5.5:high

Model label uses the last /-separated model id segment. Missing model becomes no-model.

Thinking level comes from thinking_level_select; otherwise from the latest thinking_level_change session entry; fallback is off.

Publishing only runs when UI is available. On shutdown, the extension clears its footer segment and status fallback.

Markdown source
File outline
# model-info

Model and thinking telemetry for Pi.

## Install / load

Loaded through the root `pi-ext` package.
See [root README](../../README.md).

## Commands / tools / settings

Commands:
none.

Tools:
none.

Settings read:
none.

Hooks:

- `session_start`, `model_select`, `thinking_level_select`, `session_compact`:
  publish telemetry.
- `session_shutdown`:
  clears published status/footer segment.

Events emitted:

- `footer:segment` when `@bugabinga/pi-ext-footer` is loaded:
  `model` in the `llm` zone.

UI status:

- `model-info` status fallback when shared footer is not loaded.

## Behavior

Shows current model id plus thinking level:

```text
gpt-5.5:off
gpt-5.5:high
```

Model label uses the last `/`-separated model id segment.
Missing model becomes `no-model`.

Thinking level comes from `thinking_level_select`; otherwise from the latest
`thinking_level_change` session entry; fallback is `off`.

Publishing only runs when UI is available.
On shutdown, the extension clears its footer segment and status fallback.