Skip to content

Build and run agents you can see, understand and trust.

fix(tuner): set monitor_type on monitor config (#1365)

Heyang Gao6b7216cc9c53
diff --git a/src/agentscope/tuner/_config.py b/src/agentscope/tuner/_config.py
index 917cb0ee4..a467b1260 100644
--- a/src/agentscope/tuner/_config.py
+++ b/src/agentscope/tuner/_config.py
@@ -48,7 +48,7 @@ def _to_trinity_config(
"%Y%m%d%H%M%S",
)
- _set_if_not_none(config, "monitor", monitor_type)
+ _set_if_not_none(config.monitor, "monitor_type", monitor_type)
workflow_name = "agentscope_workflow_adapter_v1"
if train_dataset is not None: