Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Pi UI Finetune

English | 中文

A Pi extension that reduces the collapsed TUI display for verbose built-in tool results.

Screenshot

effect

Installation

pi install npm:pi-ui-finetune
# Then launch pi
pi

Or copy index.ts to ~/.pi/agent/extensions/ for auto-discovery.

Configuration

All settings are optional.

# Tools whose collapsed display should be trimmed.
# Default: all built-in tools: read,bash,edit,write,grep,find,ls
PIUF_SUPPRESSED_TOOLS=read,bash,edit,write,grep,find,ls

# Number of output lines considered visible in Pi's normal collapsed preview.
# The hint reports total output lines minus this number. Default: 5
PIUF_COLLAPSED_VISIBLE_LINES=5

# Number of bash output lines shown before the collapsed hint. Default: 3
PIUF_BASH_PREVIEW_LINES=3

# Enable debug logging (default: false)
PIUF_DEBUG=false

The extension also reads these variables from a local .env file. Real environment variables take precedence over .env values.

More Extensions

  • tab-follow-up: Use Tab instead of Alt+Enter to trigger follow-up input.
  • pi-models-metadata: Automatically sync remote models list and model metadata, including context size and multimodal support.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages