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.
Closes #111
Thanks for using MentatBot. Give comments a :+1: or :-1: to help me improve!
This pull request addresses issue #111 by updating the
dataclasses.replace
calls tocall_args.model_copy(update={...})
in theDefaultRetryStrategy
class. This change is necessary becauseSpiceCallArgs
has been converted from a dataclass to a Pydantic model. The updates ensure that the retry strategy correctly modifies thetemperature
attribute ofcall_args
based on the attempt number.Closes #111
Thanks for using MentatBot. Give comments a :+1: or :-1: to help me improve!