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

Function newFallbackExecutor

pkg/runtime/fallback.go:69–71  ·  view source on GitHub ↗

newFallbackExecutor returns a *fallbackExecutor with rate-limit retries off; [cooldowns] and [telemetry] are wired in [NewLocalRuntime] once runtime opts have finalised the clock and telemetry sink.

()

Source from the content-addressed store, hash-verified

67// off; [cooldowns] and [telemetry] are wired in [NewLocalRuntime] once
68// runtime opts have finalised the clock and telemetry sink.
69func newFallbackExecutor() *fallbackExecutor {
70 return &fallbackExecutor{}
71}
72
73// buildModelChain returns the ordered list of models to try: primary first, then fallbacks.
74func buildModelChain(primary provider.Provider, fallbacks []provider.Provider) []modelWithFallback {

Callers 1

NewLocalRuntimeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected