Skip to content

Discover Pi Webster models dynamically - #30

Merged
theFong merged 1 commit into
mainfrom
codex/dynamic-pi-models
Aug 24, 2026
Merged

theFong merged 1 commit into
mainfrom
codex/dynamic-pi-models

Conversation

@theFong

@theFong theFong commented Aug 24, 2026

Copy link
Copy Markdown
Owner

Summary

  • discover every Webster model available to the supplied key from /v1/models
  • generate Pi model entries with per-model context and output limits
  • preserve an accessible existing default, prefer glm-5.2 when available, and validate explicit PI_MODEL choices
  • detect model-access drift in --check while preserving installed models during offline re-runs
  • fail cleanly for rejected keys and keys with no accessible models

Validation

  • bash -n install.sh
  • bash -n pi-setup.sh
  • ./test.sh
  • git diff --check
  • actionlint .github/workflows/bootstrap.yml
  • live Webster discovery and local Pi reinstall
  • pi-setup.sh --check
  • pi --list-models webster shows all four models available to the current key

@theFong
theFong force-pushed the codex/dynamic-pi-models branch from 360e522 to 8b147a6 Compare August 24, 2026 22:12
@theFong
theFong marked this pull request as ready for review August 24, 2026 22:22
@theFong
theFong merged commit 8d04637 into main Aug 24, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant