We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0180c4 commit 3336b90Copy full SHA for 3336b90
1 file changed
eval_protocol/training/gepa_utils.py
@@ -359,7 +359,7 @@ def configure_dspy_lm(ep_params: EPParameters) -> None:
359
360
# Handle completion_params being a list (for sweeps) - use the first one
361
if isinstance(raw_params, list):
362
- completion_params = raw_params[0] if raw_params else {}
+ completion_params = (raw_params[0] if raw_params else None) or {}
363
else:
364
completion_params = raw_params or {}
365
0 commit comments