fix p44
This commit is contained in:
@@ -684,6 +684,54 @@ final class AgentRunnerConfig
|
||||
return $this->getRequiredString('messages.no_llm_data_received');
|
||||
}
|
||||
|
||||
public function isFinalAnswerGuardEnabled(): bool
|
||||
{
|
||||
return $this->getRequiredBool('final_answer_guard.enabled');
|
||||
}
|
||||
|
||||
public function getFinalAnswerGuardMaxOutputChars(): int
|
||||
{
|
||||
return $this->getRequiredInt('final_answer_guard.max_output_chars');
|
||||
}
|
||||
|
||||
public function getFinalAnswerGuardTruncationMessage(): string
|
||||
{
|
||||
return $this->getRequiredString('final_answer_guard.truncation_message');
|
||||
}
|
||||
|
||||
public function isFinalAnswerRepeatedLineGuardEnabled(): bool
|
||||
{
|
||||
return $this->getRequiredBool('final_answer_guard.repeated_line.enabled');
|
||||
}
|
||||
|
||||
public function getFinalAnswerRepeatedLineMinOutputChars(): int
|
||||
{
|
||||
return $this->getRequiredInt('final_answer_guard.repeated_line.min_output_chars');
|
||||
}
|
||||
|
||||
public function getFinalAnswerRepeatedLineMinLineChars(): int
|
||||
{
|
||||
return $this->getRequiredInt('final_answer_guard.repeated_line.min_line_chars');
|
||||
}
|
||||
|
||||
public function getFinalAnswerRepeatedLineMaxRepetitions(): int
|
||||
{
|
||||
return $this->getRequiredInt('final_answer_guard.repeated_line.max_line_repetitions');
|
||||
}
|
||||
|
||||
public function getFinalAnswerRepeatedLineTrailingWindowLines(): int
|
||||
{
|
||||
return $this->getRequiredInt('final_answer_guard.repeated_line.trailing_window_lines');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getFinalAnswerRepeatedLineIgnorePatterns(): array
|
||||
{
|
||||
return $this->getRequiredStringList('final_answer_guard.repeated_line.ignore_patterns');
|
||||
}
|
||||
|
||||
public function getNoLlmFallbackMaxShopResults(): int
|
||||
{
|
||||
return $this->getRequiredInt('no_llm_fallback.max_shop_results');
|
||||
|
||||
Reference in New Issue
Block a user