We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 711113d commit faaf61dCopy full SHA for faaf61d
core/components/modai/src/Processors/Prompt/FreeText.php
@@ -25,7 +25,7 @@ public function process()
25
$temperature = (float)Settings::getSetting($this->modx, 'global.temperature', $model);
26
$maxTokens = (int)Settings::getSetting($this->modx, 'global.max_tokens', $model);
27
28
- $base = Settings::getPrompt($this->modx, 'base');
+ $base = Settings::getPrompt($this->modx, 'global.base');
29
if (!empty($base)) {
30
$messages[] = [
31
'role' => 'system',
0 commit comments