Repository navigation
[eng-2724] Configure Pi with every model the key can use, not just one - #43
Merged
Merged
Conversation
Co-Authored-By: thibault <thibault.jaigu@gmail.com>
devin-ai-integration
Bot
requested review from
lavicosa,
requesty-JohnCosta27 and
requesty-ditti
as code owners
November 30, 2026 18:01
Contributor
Author
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
…just one Co-Authored-By: thibault <thibault.jaigu@gmail.com>
lavicosa
approved these changes
Nov 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ticket: ENG-2724
Summary
A customer asked for multiple models when configuring Pi once from
requestyand then running plainpi. Configure wrote only the picked model into~/.pi/agent/models.json.Configure now writes the same entries
requesty pibuilds withfetchCatalog(the key's approved models from/v1/modelsplus managed policies), with the picked model first:defaultModelinsettings.json.piCatalogModel(name, reasoning, image input, cost), as inrequesty pi, so Pi does not treat switched-to models as text-only.piModelConfigis gone.requestyprovider's model list, so models from a previous key the new key cannot use do not linger. Other providers are untouched.requesty pistays live).Tests: the existing Pi tests run against a local router that fails discovery, and
TestPiHarnessConfigureListsEveryModelTheProfileCanUsecovers ordering, policies, deduping the picked model and replacing an old list.🟢 Devin Review found nothing to fix · View findings · Follow Devin's work