mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2026-06-14 02:09:22 -04:00
refactor: add to template agent roles
This commit is contained in:
@@ -152,6 +152,19 @@ ChatRootView {
|
||||
root.loadAvailableChatAgents()
|
||||
}
|
||||
}
|
||||
roleSelector {
|
||||
model: root.availableRoles
|
||||
displayText: root.currentRole
|
||||
onActivated: function(index) {
|
||||
root.currentRole = root.availableRoles[index]
|
||||
}
|
||||
|
||||
Component.onCompleted: root.loadAvailableRoles()
|
||||
|
||||
popup.onAboutToShow: {
|
||||
root.loadAvailableRoles()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
RowLayout {
|
||||
|
||||
Reference in New Issue
Block a user