repositories / pi-ext

pi-ext

bugabingas pi extensions

owned by bugabinga

extensions/model-info/README.md

Raw

model-info

Pi model and thinking telemetry.

Install / load

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

Commands / tools / settings

Commands: none.

Tools: none.

Settings read:

Hooks:

Events emitted:

UI status:

Behavior

Shows current model id plus thinking level:

gpt-5.5:off
gpt-5.5:high fast

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

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

Markdown source
File outline
# model-info

Pi model and thinking telemetry.

## Install / load

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

## Commands / tools / settings

Commands:
none.

Tools:
none.

Settings read:

- `fast.enable`:
  appends `fast` when current provider is `openai-codex`.

Hooks:

- `session_start`, `model_select`, `thinking_level_select`, `session_compact`:
  publish telemetry.
- `session_shutdown`:
  clear 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 fast
```

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

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