MCPcopy Index your code
hub / github.com/docker/docker-agent / getStrategyNames

Function getStrategyNames

pkg/rag/manager.go:428–430  ·  view source on GitHub ↗

Helper to get strategy names for logging

(stratMap map[string]strategy.Strategy)

Source from the content-addressed store, hash-verified

426
427// Helper to get strategy names for logging
428func 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

Callers 1

QueryMethod · 0.85

Calls 1

KeysMethod · 0.45

Tested by

no test coverage detected