From ff927b571edd28a82f7bb30d648f1517c4dd5613 Mon Sep 17 00:00:00 2001 From: Jared Van Bortel Date: Fri, 9 Aug 2024 18:06:26 -0400 Subject: [PATCH] add comment to ModelInfo Signed-off-by: Jared Van Bortel --- gpt4all-chat/modellist.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gpt4all-chat/modellist.h b/gpt4all-chat/modellist.h index b3027465..b957f9a2 100644 --- a/gpt4all-chat/modellist.h +++ b/gpt4all-chat/modellist.h @@ -109,6 +109,9 @@ public: QString description() const; void setDescription(const QString &d); + /* For built-in OpenAI-compatible models (isOnline && !isCompatibleApi), this is the full completions endpoint URL. + * For custom OpenAI-compatible models (isCompatibleApi), this is not set. + * For discovered models (isDiscovered), this is the resolved URL of the GGUF file. */ QString url() const; void setUrl(const QString &u);