| fix(agent_teams): serialise ByModelNameAllocator counters as list
state_dict() used to dump _inner_indexes as a dict keyed by model_name,
so configurations with names containing '.' or '[' (e.g. "glm-5.1",
"claude-3.5-sonnet") tripped the session persistence layer's
nested-path parsing and crashed when sibling keys shared a prefix.
Switch to a list of {model_name, index} records so model names are
never interpreted as paths. load_state_dict() still accepts the legacy
"inner_indexes" dict format so sessions persisted by older versions
load without resetting rotation counters.
Refs: #751
| 20 天前 |