Преглед на файлове

Merge pull request #256 from tiansiyuan/patch-10

add missing module
jjyaoao преди 10 месеца
родител
ревизия
8bef1bc4bd
променени са 2 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 1 0
      docs/chapter10/Chapter10-Agent-Communication-Protocols.md
  2. 1 0
      docs/chapter10/第十章 智能体通信协议.md

+ 1 - 0
docs/chapter10/Chapter10-Agent-Communication-Protocols.md

@@ -1305,6 +1305,7 @@ First, let's create an Agent server:
 ```python
 from hello_agents.protocols import A2AServer
 import threading
+import time
 
 # Create researcher Agent service
 researcher = A2AServer(

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

@@ -1305,6 +1305,7 @@ HelloAgents 提供了统一的 A2A 工具接口。
 ```python
 from hello_agents.protocols import A2AServer
 import threading
+import time
 
 # 创建研究员Agent服务
 researcher = A2AServer(