0
代码介绍
代码
Issues
Pull Requests
流水线
Actions
讨论
Wiki
项目成员
分析
项目设置
0
  1. agent-core
  2. /
  3. tests
  4. /
  5. unit_tests
  6. /
  7. agent_teams
  8. /
  9. models
alan_chengalan_chengfix(agent_teams): serialise ByModelNameAllocator counters as list
5faa806d创建于 20 天前历史提交
文件最后提交记录最后更新时间
__init__.py
refactor(agent_teams): restructure package layout and tighten internals - extract TeamAgentBlueprint / TeamAgentState / SpawnPayloadBuilder - split AgentConfigurator into TeamInfra and PrivateAgentResources - fold coordination subsystem into a single kernel - slim DispatcherHost protocol; inject context into operators - unify TeamMember construction in member_factory - split prompts/rails into top-level modules; move models to models/ - register team tools via TeamToolRail - hoist TeamRuntimeManager into runtime/; hoist session_id to top - tighten activation kind into enum and dedupe pre_run Refs: #751 29 天前
test_allocator.py
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 天前