feat(pi): Add searchable model picker for new sessions with Databricks Unity AI Gateway OAuth - #3481
feat(pi): Add searchable model picker for new sessions with Databricks Unity AI Gateway OAuth#3481anthonyivn2 wants to merge 3 commits into
Conversation
Signed-off-by: Anthony Ivan <anthony.ivan@databricks.com>
2f27bdc to
3583086
Compare
|
What's |
|
/review |
|
Signed-off-by: Anthony Ivan <anthony.ivan@databricks.com>
|
@TomeHirata I have made changes related to the review, and removed |
Signed-off-by: Anthony Ivan <anthony.ivan@databricks.com>
Related issue
N/A — no issue is currently linked.
Summary
This PR extends the existing host-resolved model selection path to Pi. After configuring a provider with
omni setup, users can search and select one of its models before starting Pi. Omnigent sends the exact provider and model through launch, so Pi starts and reports model changes using the same unambiguous identifier.pi-nativemodel options on the selected host from the provider generated byomni setup; local Pi configuration such as~/.piis intentionally excluded.main.provider/modelselections throughmodel_override, Pi terminal launch, namespaced model IDs, startup reporting, and live model-change events.flowchart LR A[omni setup] --> B[Managed Pi provider catalog] B --> C[Host model_options for pi-native] C --> D[Searchable new-session picker] D --> E[provider/model override] E --> F[Pi terminal launch] E --> G[Startup and live model events] H[Local ~/.pi configuration] -. intentionally excluded .-> CTest Plan
uv run pytest -q tests/host/test_connect.py tests/test_pi_native_credentials.py tests/runner/test_app_sessions_native_terminals_autocreate.py tests/test_pi_native_extension.pyweb/node_modules/.bin/tsc -b webcd web && ./node_modules/.bin/vitest run src/shell/NewChatDialog.flow.test.tsxuv run --frozen pre-commit run --all-filesomni setup.gpt sol, and scroll the results.Demo
Gear option on the home page
Searchable model picker
Running with the selected model
Type of change
Test coverage
Coverage notes
Automated coverage exercises host catalog resolution, provider-qualified launch selection, extension model events, and the new-session create request. The attached screenshots demonstrate the intended UI behavior; no additional manual UI pass was performed during the rebase.
Changelog
Pi sessions now provide a searchable model picker for providers configured through
omni setup.