You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
revert(desktop): drop ba47f02 model-discovery setup-state additions
The agent profile sidebar is read-only, so the spike no longer renders a
ModelPicker. The earlier rip over-cut: it deleted main's shipping model-
discovery probe and helpers wholesale, conflating "unused by the new UI"
with "added by us." This redoes it narrowly.
Revert only what commit ba47f02 "handle model discovery setup states"
added on top of main — the runtime-env injection, Databricks defaults,
and configurationError path in agent_models.rs, the matching runtime.rs/
types.rs tweaks, the configurationError field in types.ts, the +22 lines
in ModelPicker.tsx, and the e2eBridge mock field. Everything else —
get_agent_models, resolve_persona_env, resolve_effective_prompt_model_
provider, redact_env_values_in, AgentModelsResponse/AgentModelInfo — was
already on origin/main and stays exactly as it ships there.
UserProfilePanelSections.tsx is intentionally untouched: ba47f02's 8-line
ModelFocusedView edit was already superseded by the read-only restructure
in later sidebar commits. The "Model: Auto" row and useHorizontalDragScroll
are unchanged.
Net result: desktop/src-tauri/ and desktop/src/shared/api/types.ts now
match origin/main exactly (`git diff origin/main` on those paths is empty).
Co-authored-by: Taylor Ho <taylorkmho@gmail.com>
Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
0 commit comments