AutoModelFallbackError is returned when auto model selection fails because no model could be initialized (no API keys configured and no usable Docker Model Runner model, e.g. DMR not installed or the pull was declined).
| 78 | // no model could be initialized (no API keys configured and no usable Docker |
| 79 | // Model Runner model, e.g. DMR not installed or the pull was declined). |
| 80 | type AutoModelFallbackError struct { |
| 81 | // Cause is the underlying provider-initialization error, when available |
| 82 | // (for example "model pull declined by user"). It is surfaced in the |
| 83 | // message so the user understands why selection fell through, and exposed |
| 84 | // via Unwrap for errors.Is/As callers. |
| 85 | Cause error |
| 86 | } |
| 87 | |
| 88 | // pullErrorSummarizer is implemented by provider errors (e.g. DMR pull |
| 89 | // failures) that already carry their own multi-line actionable guidance. When |
nothing calls this directly
no outgoing calls
no test coverage detected