DefaultRetryConfig returns the default retry configuration.
()
| 32 | |
| 33 | // DefaultRetryConfig returns the default retry configuration. |
| 34 | func DefaultRetryConfig() RetryConfig { |
| 35 | return RetryConfig{ |
| 36 | MaxRetries: 3, |
| 37 | RetryDelays: []time.Duration{0, 5 * time.Second, 15 * time.Second}, |
| 38 | Enabled: true, |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | // Loop manages the core agent loop that invokes the configured agent repeatedly until all stories are complete. |
| 43 | type Loop struct { |
no outgoing calls