mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-02 09:40:42 +00:00
6d9cdf228c
per model settings as well as the ability to clone a model into a "character." This also implements system prompts as well as quite a few bugfixes for instance this fixes chatgpt.
18 lines
394 B
QML
18 lines
394 B
QML
import QtCore
|
|
import QtQuick
|
|
import QtQuick.Controls
|
|
import QtQuick.Controls.Basic
|
|
import llm
|
|
|
|
TextField {
|
|
id: myDirectoryField
|
|
padding: 10
|
|
property bool isValid: LLM.directoryExists(text)
|
|
color: text === "" || isValid ? theme.textColor : theme.textErrorColor
|
|
background: Rectangle {
|
|
implicitWidth: 150
|
|
color: theme.backgroundDark
|
|
radius: 10
|
|
}
|
|
}
|