This commit is contained in:
team 1
2026-05-06 11:02:48 +02:00
parent 4832c2e287
commit 433ce2046f
3 changed files with 175 additions and 3 deletions

View File

@@ -757,6 +757,16 @@ final class AgentRunnerConfig
return $this->getRequiredString('direct_shop_result_answer.sorted_by_length_note');
}
public function getDirectShopResultAnswerMinLengthFilterNote(): string
{
return $this->getRequiredString('direct_shop_result_answer.min_length_filter_note');
}
public function getDirectShopResultAnswerMaxLengthFilterNote(): string
{
return $this->getRequiredString('direct_shop_result_answer.max_length_filter_note');
}
public function getNoLlmFallbackMaxShopResults(): int
{
return $this->getRequiredInt('no_llm_fallback.max_shop_results');
@@ -1151,6 +1161,27 @@ final class AgentRunnerConfig
return $this->getRequiredStringList('shop_prompt.length_sort.value_patterns');
}
public function isShopResultLengthFilterEnabled(): bool
{
return $this->getRequiredBool('shop_prompt.length_filter.enabled');
}
/**
* @return string[]
*/
public function getShopResultMinLengthFilterPatterns(): array
{
return $this->getRequiredStringList('shop_prompt.length_filter.min_patterns');
}
/**
* @return string[]
*/
public function getShopResultMaxLengthFilterPatterns(): array
{
return $this->getRequiredStringList('shop_prompt.length_filter.max_patterns');
}
public function getShopPromptIntro(): string
{
return $this->getRequiredString('shop_prompt.intro');