Fixed problems with folder select for MCP

This commit is contained in:
2026-03-01 18:00:30 +01:00
parent 98d9ee2b51
commit 65a35cd508
6 changed files with 152 additions and 36 deletions

View File

@@ -96,9 +96,14 @@ struct ContentView: View {
CreditsView(provider: chatViewModel.currentProvider)
}
.sheet(isPresented: $vm.showConversations) {
ConversationListView(onLoad: { conversation in
chatViewModel.loadConversation(conversation)
})
ConversationListView(
onLoad: { conversation in
chatViewModel.loadConversation(conversation)
},
onRename: { id, newName in
chatViewModel.didRenameConversation(id: id, newName: newName)
}
)
}
.sheet(item: $vm.modelInfoTarget) { model in
ModelInfoView(model: model)