This repository has been archived on 2026-08-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
pi-web/.changeset/spawn-model-picker.md
T
Federico Jaramillo Martinez 5f4d81352f feat(sessions): optional model for spawn tools and # model completion in composer
spawn_session and spawn_subsession accept an optional model parameter as
an exact provider/model-id (strict matching; unknown specs fail listing
available models; omitting it keeps the inherited model). The chat
composer opens a model completion menu on # and inserts a
#provider/model-id reference into the draft, which agents forward as
the model parameter.
2026-07-29 23:58:38 +02:00

427 B

@jmfederico/pi-web
@jmfederico/pi-web
patch

Let agents pick a model when delegating work: spawn_session and spawn_subsession accept an optional model parameter as an exact provider/model-id (an unknown value is rejected; omitting it keeps the inherited model). In the chat composer, typing # opens a model completion menu that inserts a #provider/model-id reference into the draft, which agents forward as that parameter.