소스 검색

Merge pull request #258 from tiansiyuan/patch-11

fix wrong attribute
jjyaoao 5 달 전
부모
커밋
95e0b2890d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      docs/chapter10/第十章 智能体通信协议.md

+ 1 - 1
docs/chapter10/第十章 智能体通信协议.md

@@ -1793,7 +1793,7 @@ for i in range(10):
         }
     )
 
-print(f"✅ 注册了 {len(discovery.list_services())} 个计算节点")
+print(f"✅ 注册了 {len(discovery.list_all_services())} 个计算节点")
 
 # 3. 创建任务调度Agent
 scheduler = SimpleAgent(