fix(app): open sole provider model picker directly
Running chats expose one provider, so an intermediate provider screen and back action are redundant. Restore the direct model-list entry behavior while preserving the multi-provider picker.
This commit is contained in:
@@ -292,9 +292,7 @@ export function useModelBrowser({
|
||||
setSearchQuery(value);
|
||||
}, []);
|
||||
|
||||
// A pinned profiles section makes the root worth returning to, so the back
|
||||
// affordance stays even when the drill-down was the only provider.
|
||||
const singleProviderView = providers.length === 1 && !hasProfiles;
|
||||
const singleProviderView = providers.length === 1;
|
||||
const header = useMemo<SheetHeader>(() => {
|
||||
if (view.kind === "all") {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user