distributed-a2a 0.1.5rc6__py3-none-any.whl → 0.1.5rc8__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- distributed_a2a/server.py +4 -6
- {distributed_a2a-0.1.5rc6.dist-info → distributed_a2a-0.1.5rc8.dist-info}/METADATA +1 -1
- {distributed_a2a-0.1.5rc6.dist-info → distributed_a2a-0.1.5rc8.dist-info}/RECORD +6 -6
- {distributed_a2a-0.1.5rc6.dist-info → distributed_a2a-0.1.5rc8.dist-info}/WHEEL +0 -0
- {distributed_a2a-0.1.5rc6.dist-info → distributed_a2a-0.1.5rc8.dist-info}/licenses/LICENSE +0 -0
- {distributed_a2a-0.1.5rc6.dist-info → distributed_a2a-0.1.5rc8.dist-info}/top_level.txt +0 -0
distributed_a2a/server.py
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import asyncio
|
|
2
|
-
import logging
|
|
3
2
|
import time
|
|
4
3
|
from contextlib import asynccontextmanager
|
|
5
4
|
from typing import Any
|
|
@@ -41,9 +40,8 @@ async def heart_beat(name: str, agent_card_table: str, agent_card: AgentCard):
|
|
|
41
40
|
|
|
42
41
|
|
|
43
42
|
def load_app(agent_config: dict[str, Any]) -> FastAPI:
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
agent_config=AgentConfig.model_validate(agent_config)
|
|
43
|
+
|
|
44
|
+
agent_config= AgentConfig.model_validate(agent_config)
|
|
47
45
|
|
|
48
46
|
skills = [AgentSkill(
|
|
49
47
|
id=skill.id,
|
|
@@ -85,5 +83,5 @@ def load_app(agent_config: dict[str, Any]) -> FastAPI:
|
|
|
85
83
|
http_handler=DefaultRequestHandler(
|
|
86
84
|
agent_executor=executor,
|
|
87
85
|
task_store=InMemoryTaskStore() #TODO replace with dynamodb store
|
|
88
|
-
|
|
89
|
-
|
|
86
|
+
|
|
87
|
+
)).build(title=agent_card.name, lifespan=lifespan, root_path=f"/{agent_config.agent.card.name) #TODO use extra parameter}"
|
|
@@ -4,9 +4,9 @@ distributed_a2a/client.py,sha256=2974Uw8YUuyBytwxxJJKYsWXCpEaIbGmMUHDraITxJ0,414
|
|
|
4
4
|
distributed_a2a/executors.py,sha256=m8Z48r4gWYE_39wq-lS4Btk5lOsKTuS7JSYNYF2Ejaw,4171
|
|
5
5
|
distributed_a2a/model.py,sha256=yXiqEBZfQh-B_ld5klUVSUuXxninYfZ1aC9IJmmJdMg,2323
|
|
6
6
|
distributed_a2a/registry.py,sha256=197eZVR6TW0isOUE0VjWSWs7aCqbWqnBzcV8EVXAxrI,677
|
|
7
|
-
distributed_a2a/server.py,sha256=
|
|
8
|
-
distributed_a2a-0.1.
|
|
9
|
-
distributed_a2a-0.1.
|
|
10
|
-
distributed_a2a-0.1.
|
|
11
|
-
distributed_a2a-0.1.
|
|
12
|
-
distributed_a2a-0.1.
|
|
7
|
+
distributed_a2a/server.py,sha256=D9xRjYe9e1gJsVdNew1dzB-7Iu8zKEXjIKwVt6xdlww,3085
|
|
8
|
+
distributed_a2a-0.1.5rc8.dist-info/licenses/LICENSE,sha256=Btzdu2kIoMbdSp6OyCLupB1aRgpTCJ_szMimgEnpkkE,1056
|
|
9
|
+
distributed_a2a-0.1.5rc8.dist-info/METADATA,sha256=pwqzULviuVO6R1VWeVQ3EDnWGaAFngnDFiA0KCvBSqM,3106
|
|
10
|
+
distributed_a2a-0.1.5rc8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
11
|
+
distributed_a2a-0.1.5rc8.dist-info/top_level.txt,sha256=23qJ8n5k7796BHDK7a58uuO-X4GV0EgUWcGi8NIn-0k,16
|
|
12
|
+
distributed_a2a-0.1.5rc8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|