mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-18 06:49:58 -05:00
ai: fix chat.json doesn't exist warning
This commit is contained in:
@@ -887,8 +887,8 @@ Singleton {
|
|||||||
|
|
||||||
FileView {
|
FileView {
|
||||||
id: chatSaveFile
|
id: chatSaveFile
|
||||||
property string chatName: "chat"
|
property string chatName: ""
|
||||||
path: `${Directories.aiChats}/${chatName}.json`
|
path: chatName.length > 0 ? `${Directories.aiChats}/${chatName}.json` : ""
|
||||||
blockLoading: true // Prevent race conditions
|
blockLoading: true // Prevent race conditions
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user