selectProviders abstract method

List<AIProvider> selectProviders(
  1. List<AIProvider> available,
  2. Map<String, List<Duration>> latencyHistory
)

Orders the available providers based on this strategy's logic.

Implementation

List<AIProvider> selectProviders(
  List<AIProvider> available,
  Map<String, List<Duration>> latencyHistory,
);