# model-infoModel and thinking telemetry for Pi.
## Install / loadLoaded through the root `pi-ext` package.
See [root README](../../README.md).
## Commands / tools / settingsCommands:
none.
Tools:
none.
Settings read:
none.
Hooks:
- `session_start`, `model_select`, `session_compact`:
publish telemetry from the current session state.
- `thinking_level_select`:
publish telemetry using the selected thinking level from the event.
- `session_shutdown`:
clears the footer segment and status fallback.
Events emitted:
- `footer:segment`:
publishes or clears segment `model` in the `llm` zone.
UI status:
- `model-info` status fallback when `@bugabinga/pi-ext-footer` is not loaded.
## BehaviorShows current model id plus thinking level:
```textgpt-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`.
When the shared footer is loaded, the extension publishes footer segment
`model` with color `syntaxKeyword`, zone `llm`, and order `0`.
Without the shared footer, it clears the footer segment and writes the
`model-info` UI status fallback.
Publishing only runs when UI is available.
On shutdown, the extension clears its footer segment and status fallback.