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] ); }