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