From c9da12a77d9965b376bfc6d986e9424e67220476 Mon Sep 17 00:00:00 2001 From: "privet.fun" Date: Thu, 1 Jun 2023 14:55:50 -0700 Subject: [PATCH] Update readme --- privet/ailabs/README.md | 1 + privet/ailabs/controller/chatgpt.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/privet/ailabs/README.md b/privet/ailabs/README.md index c81b726..86ec30f 100644 --- a/privet/ailabs/README.md +++ b/privet/ailabs/README.md @@ -113,6 +113,7 @@ This extension is currently being actively developed. For communication, please * 1.0.3 June 1, 2023 - bumped php requirements to >= 7.4 + - Comma removed, reported by [Vlad__](https://www.phpbbguru.net/community/viewtopic.php?p=561224#p561224) * 1.0.2 June 1, 2023 - Only apply `utf8_encode_ucr` if present, reported by [Vlad__](https://www.phpbbguru.net/community/viewtopic.php?p=561158#p561158) diff --git a/privet/ailabs/controller/chatgpt.php b/privet/ailabs/controller/chatgpt.php index 292e9f6..78ffb62 100644 --- a/privet/ailabs/controller/chatgpt.php +++ b/privet/ailabs/controller/chatgpt.php @@ -163,7 +163,7 @@ class chatgpt extends AIController if (!empty($this->cfg->prefix)) { array_unshift( $messages, - ['role' => 'system', 'content' => $this->cfg->prefix], + ['role' => 'system', 'content' => $this->cfg->prefix] ); }