new tokens

This commit is contained in:
team 1
2026-05-01 12:10:32 +02:00
parent f28deb9eff
commit 724afd4a26
8 changed files with 154 additions and 81 deletions

View File

@@ -512,18 +512,7 @@ final readonly class CommerceQueryParser
return true;
}
return in_array($token, [
'shop',
'store',
'produkt',
'produkte',
'artikel',
'kaufen',
'kaufe',
'bestellen',
'bestelle',
'online',
], true);
return in_array($token, $this->config->getSearchControlTokens(), true);
}
private function isDirectProductQuery(string $prompt): bool