p67
This commit is contained in:
@@ -979,12 +979,23 @@ final class AgentRunnerConfig
|
||||
return $this->getRequiredInt('production_ui.shop_results.max_cards');
|
||||
}
|
||||
|
||||
public function isProductionUiFollowUpActionsEnabled(): bool
|
||||
{
|
||||
if ($this->chatMessages !== null) {
|
||||
return $this->chatMessages->getBool('agent.production_ui.follow_up_actions.enabled');
|
||||
}
|
||||
|
||||
return $this->getOptionalBool('production_ui.follow_up_actions.enabled', false);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array<int, array{label:string, prompt:string}>
|
||||
*/
|
||||
public function getProductionUiFollowUpActions(string $group): array
|
||||
{
|
||||
return $this->getChatActionList('agent.production_ui.follow_up_actions.' . $group, 'production_ui.follow_up_actions.' . $group);
|
||||
$legacyGroup = $group === 'shop_results' ? 'commerce' : $group;
|
||||
|
||||
return $this->getChatActionList('agent.production_ui.follow_up_actions.' . $group, 'production_ui.follow_up_actions.' . $legacyGroup);
|
||||
}
|
||||
|
||||
public function getNoLlmProductField(string $key): string
|
||||
|
||||
Reference in New Issue
Block a user