Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue with fallbacks and the initial client (#1089)
<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Added retry policies to `CustomGPT4oMini` and `CustomHaiku`, corrected strategies for round-robin and fallback clients in `clients.baml`. > > - **Retry Policies**: > - Added `retry_policy Exponential` to `CustomGPT4oMini`. > - Added `retry_policy Constant` to `CustomHaiku`. > - **Strategies**: > - Corrected round-robin strategy in `CustomFast` to use `CustomGPT4oMini` and `CustomHaiku`. > - Corrected fallback strategy in `OpenaiFallback` to use `CustomGPT4oMini` twice. > - **Retry Policy Definitions**: > - Defined `retry_policy Constant` with `max_retries 3`, `delay_ms 200`. > - Defined `retry_policy Exponential` with `max_retries 2`, `delay_ms 300`, `multiplier 1.5`, `max_delay_ms 10000`. > > <sup>This description was created by </sup>[<img alt="Ellipsis" src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=BoundaryML%2Fbaml&utm_source=github&utm_medium=referral)<sup> for 8b092f3. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
- Loading branch information