Skip to content

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OMP Model Profiles

An Oh My Pi extension for saving and switching complete sets of model-role assignments from a terminal UI.

Model Profiles TUI

Features

  • Save the current model-role assignments as a named profile.
  • Apply a complete profile in one action.
  • Edit individual role assignments with OMP's model browser.
  • Rename, search, and delete profiles.
  • Support built-in and custom OMP roles without maintaining a fixed role list.
  • Respect OMP's global or project model-role storage mode.
  • Detect concurrent profile-file changes instead of overwriting them.

Requirements

  • Oh My Pi 18.2.5 or newer

Installation

Install the extension directly from GitHub:

omp plugin install github:MRGRD56/omp-model-profiles

Reload plugins in an active OMP session:

/reload-plugins

Alternatively, restart OMP. Confirm the extension is enabled with:

omp plugin list --json

Usage

Open the interface with:

/profiles

The default shortcut is Ctrl+Alt+P.

Opening the manager clears the screen before reading profiles. If loading takes longer than 600 ms, a loading indicator appears until the manager is ready. Press Esc or Ctrl+C to cancel while loading.

Key Action
/ Select a profile or role
Enter Apply a profile or choose a model
Tab or / Switch between profiles and role details
n Create a profile from the current assignments
e Rename the selected profile
d Delete the selected profile
/ Search profiles
Delete Set the selected role to Auto while choosing a model
Esc Go back or close the interface
Ctrl+C Close Model Profiles from any panel or nested screen

To change the shortcut, add this setting to the active OMP config.yml:

modelProfilesExtension:
  keybindings:
    openProfiles: ctrl+alt+p

Profiles are stored in model-profiles.yml inside the active OMP agent directory. The file follows the active OMP profile and honors XDG and PI_CODING_AGENT_DIR configuration.

About

Model-role profiles for OMP. Through a TUI.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages