| 44 | ) |
| 45 | |
| 46 | type modelCooldownError struct { |
| 47 | model string |
| 48 | resetIn time.Duration |
| 49 | provider string |
| 50 | } |
| 51 | |
| 52 | func newModelCooldownError(model, provider string, resetIn time.Duration) *modelCooldownError { |
| 53 | if resetIn < 0 { |
nothing calls this directly
no outgoing calls
no test coverage detected