Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dataclasses.replace calls in DefaultRetryStrategy
This pull request addresses issue #111 by updating the `dataclasses.replace` calls to `call_args.model_copy(update={...})` in the `DefaultRetryStrategy` class. This change is necessary because `SpiceCallArgs` has been converted from a dataclass to a Pydantic model. The updates ensure that the retry strategy correctly modifies the `temperature` attribute of `call_args` based on the attempt number.
- Loading branch information