From 67fd391c8f7ea547effcc827141fce269c816a71 Mon Sep 17 00:00:00 2001 From: Jared Van Bortel Date: Mon, 1 Jul 2024 18:10:19 -0400 Subject: [PATCH] chat: fix documentation links (#2506) Now that the documentation has been overhauled, we need to point to the new locations. Signed-off-by: Jared Van Bortel --- gpt4all-chat/qml/ChatView.qml | 2 +- gpt4all-chat/qml/HomeView.qml | 2 +- gpt4all-chat/qml/LocalDocsSettings.qml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gpt4all-chat/qml/ChatView.qml b/gpt4all-chat/qml/ChatView.qml index 49768a06..58761c3a 100644 --- a/gpt4all-chat/qml/ChatView.qml +++ b/gpt4all-chat/qml/ChatView.qml @@ -61,7 +61,7 @@ Rectangle { + "
  • Check the model file is complete in the download folder" + "
  • You can find the download folder in the settings dialog" + "
  • If you've sideloaded the model ensure the file is not corrupt by checking md5sum" - + "
  • Read more about what models are supported in our documentation for the gui" + + "
  • Read more about what models are supported in our documentation for the gui" + "
  • Check out our discord channel for help") } diff --git a/gpt4all-chat/qml/HomeView.qml b/gpt4all-chat/qml/HomeView.qml index 34a3ee2b..b73ccf46 100644 --- a/gpt4all-chat/qml/HomeView.qml +++ b/gpt4all-chat/qml/HomeView.qml @@ -224,7 +224,7 @@ Rectangle { MyFancyLink { text: qsTr("Documentation") imageSource: "qrc:/gpt4all/icons/info.svg" - onClicked: { Qt.openUrlExternally("https://docs.gpt4all.io/gpt4all_chat.html") } + onClicked: { Qt.openUrlExternally("https://docs.gpt4all.io/") } } MyFancyLink { diff --git a/gpt4all-chat/qml/LocalDocsSettings.qml b/gpt4all-chat/qml/LocalDocsSettings.qml index 6e6e4bac..47f44090 100644 --- a/gpt4all-chat/qml/LocalDocsSettings.qml +++ b/gpt4all-chat/qml/LocalDocsSettings.qml @@ -247,7 +247,7 @@ MySettingsTab { color: theme.textErrorColor wrapMode: Text.WordWrap text: qsTr("Warning: Advanced usage only.") - helpText: qsTr("Values too large may cause localdocs failure, extremely slow responses or failure to respond at all. Roughly speaking, the {N chars x N snippets} are added to the model's context window. More info here.") + helpText: qsTr("Values too large may cause localdocs failure, extremely slow responses or failure to respond at all. Roughly speaking, the {N chars x N snippets} are added to the model's context window. More info here.") onLinkActivated: function(link) { Qt.openUrlExternally(link) } }