Skip to content

Commit

Permalink
disable assistants tab
Browse files Browse the repository at this point in the history
  • Loading branch information
BeepBeepBopBop committed Dec 25, 2024
1 parent 1213dae commit d3c85a2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions LM-Kit-Maestro/AppShell.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
<ShellContent Title="Home" ContentTemplate="{DataTemplate ui:HomePage}"/>
</Tab>-->

<Tab BindingContext="{Binding AssistantsTab}" Title="{Binding AssistantsTab.Title}" Route="AssistantsPage" x:DataType="vm:MaestroTabViewModel">
<!--<Tab BindingContext="{Binding AssistantsTab}" Title="{Binding AssistantsTab.Title}" Route="AssistantsPage" x:DataType="vm:MaestroTabViewModel">
<ShellContent ContentTemplate="{DataTemplate ui:AssistantsPage}"/>
</Tab>
</Tab>-->

<Tab BindingContext="{Binding ChatTab}" Title="{Binding ChatTab.Title}" Route="ChatPage" x:DataType="vm:MaestroTabViewModel">
<ShellContent Title="AI Chat" ContentTemplate="{DataTemplate ui:ChatPage}"/>
Expand Down
8 changes: 4 additions & 4 deletions LM-Kit-Maestro/ViewModels/Pages/AppShellViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ public partial class AppShellViewModel : ViewModelBase
[ObservableProperty]
MaestroTabViewModel _modelsTab = new MaestroTabViewModel("Models", "ModelsPage");

[ObservableProperty]
MaestroTabViewModel _assistantsTab = new MaestroTabViewModel("Assistants", "AssistantsPage");
//[ObservableProperty]
//MaestroTabViewModel _assistantsTab = new MaestroTabViewModel("Assistants", "AssistantsPage");

private MaestroTabViewModel? _currentTab;
public MaestroTabViewModel CurrentTab
Expand Down Expand Up @@ -62,11 +62,11 @@ public AppShellViewModel(IPopupService popupService, INavigationService navigati
_llmFileManager = llmFileManager;
_appSettingsService = appSettingsService;

Tabs.Add(AssistantsTab);
//Tabs.Add(AssistantsTab);
Tabs.Add(ChatTab);
Tabs.Add(ModelsTab);

CurrentTab = AssistantsTab;
CurrentTab = ChatTab;
}

public async Task Init()
Expand Down

0 comments on commit d3c85a2

Please sign in to comment.