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 bb79c3c commit 2471398Copy full SHA for 2471398
src/ai-bundle/config/options.php
@@ -142,7 +142,7 @@
142
->ifArray()
143
->then(function (array $v) {
144
if (!isset($v['text']) && !isset($v['include_tools'])) {
145
- throw new \InvalidArgumentException('Either "text" must be configured for prompt.');
+ throw new \InvalidArgumentException('Either "text" or "include_tools" must be configured for prompt.');
146
}
147
148
return $v;
0 commit comments