Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Incorporate feedback to maintain dataclass usage for Model class
Reverted changes in `spice/models.py` to keep using `dataclasses.replace` for the `Model` class, as it remains a dataclass. Updated only the `SpiceCallArgs`-related code in `DefaultRetryStrategy` to use `model_copy` for Pydantic model updates. This ensures correct handling of both dataclasses and Pydantic models.
- Loading branch information