You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Fix deepcopy for RubricGenerationConfig in RubricBasedMetric.
The `GenerativeModel` instance within `RubricGenerationConfig` cannot be deepcopied directly. This change introduces a helper function to safely deepcopy the configuration by temporarily setting the `model` attribute to `None` before deepcopying and restoring it afterwards.
PiperOrigin-RevId: 804266957
0 commit comments