Helper to get strategy names for logging
(stratMap map[string]strategy.Strategy)
| 426 | |
| 427 | // Helper to get strategy names for logging |
| 428 | func getStrategyNames(stratMap map[string]strategy.Strategy) []string { |
| 429 | return slices.Collect(maps.Keys(stratMap)) |
| 430 | } |
| 431 | |
| 432 | // rerank applies the configured reranker to results, falling back to the |
| 433 | // original results on failure. After a non-retryable model error (e.g. an |