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

Method FallbackModels

pkg/agent/agent.go:292–294  ·  view source on GitHub ↗

FallbackModels returns the fallback models to try if the primary model fails.

()

Source from the content-addressed store, hash-verified

290
291// FallbackModels returns the fallback models to try if the primary model fails.
292func (a *Agent) FallbackModels() []provider.Provider {
293 return a.fallbackModels
294}
295
296// FallbackRetries returns the number of retries per fallback model.
297func (a *Agent) FallbackRetries() int {

Callers 4

executeMethod · 0.80
AgentConfigInfoMethod · 0.80
getEffectiveModelIDMethod · 0.80
agentDetailsFromTeamMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected