mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2025-10-29 23:35:42 -04:00
fix: Handling request error on provider error
This commit is contained in:
@ -263,6 +263,20 @@ ChatRootView {
|
||||
scrollToBottom()
|
||||
}
|
||||
|
||||
ErrorToast {
|
||||
id: errorToast
|
||||
z: 1000
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: root
|
||||
function onLastErrorMessageChanged() {
|
||||
if (root.lastErrorMessage.length > 0) {
|
||||
errorToast.show(root.lastErrorMessage)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
messageInput.forceActiveFocus()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user