diff --git a/src/ai-bundle/config/options.php b/src/ai-bundle/config/options.php index ba5c545e6..86ee44f31 100644 --- a/src/ai-bundle/config/options.php +++ b/src/ai-bundle/config/options.php @@ -142,7 +142,7 @@ ->ifArray() ->then(function (array $v) { if (!isset($v['text']) && !isset($v['include_tools'])) { - throw new \InvalidArgumentException('Either "text" must be configured for prompt.'); + throw new \InvalidArgumentException('Either "text" or "include_tools" must be configured for prompt.'); } return $v;