distributed-a2a 0.1.6rc3__tar.gz → 0.1.6rc4__tar.gz

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.
Files changed (21) hide show
  1. {distributed_a2a-0.1.6rc3/distributed_a2a.egg-info → distributed_a2a-0.1.6rc4}/PKG-INFO +1 -1
  2. {distributed_a2a-0.1.6rc3 → distributed_a2a-0.1.6rc4}/distributed_a2a/executors.py +2 -2
  3. {distributed_a2a-0.1.6rc3 → distributed_a2a-0.1.6rc4}/distributed_a2a/router.py +2 -0
  4. {distributed_a2a-0.1.6rc3 → distributed_a2a-0.1.6rc4/distributed_a2a.egg-info}/PKG-INFO +1 -1
  5. {distributed_a2a-0.1.6rc3 → distributed_a2a-0.1.6rc4}/pyproject.toml +1 -1
  6. {distributed_a2a-0.1.6rc3 → distributed_a2a-0.1.6rc4}/LICENSE +0 -0
  7. {distributed_a2a-0.1.6rc3 → distributed_a2a-0.1.6rc4}/MANIFEST.in +0 -0
  8. {distributed_a2a-0.1.6rc3 → distributed_a2a-0.1.6rc4}/README.md +0 -0
  9. {distributed_a2a-0.1.6rc3 → distributed_a2a-0.1.6rc4}/distributed_a2a/__init__.py +0 -0
  10. {distributed_a2a-0.1.6rc3 → distributed_a2a-0.1.6rc4}/distributed_a2a/agent.py +0 -0
  11. {distributed_a2a-0.1.6rc3 → distributed_a2a-0.1.6rc4}/distributed_a2a/client.py +0 -0
  12. {distributed_a2a-0.1.6rc3 → distributed_a2a-0.1.6rc4}/distributed_a2a/model.py +0 -0
  13. {distributed_a2a-0.1.6rc3 → distributed_a2a-0.1.6rc4}/distributed_a2a/registry.py +0 -0
  14. {distributed_a2a-0.1.6rc3 → distributed_a2a-0.1.6rc4}/distributed_a2a/server.py +0 -0
  15. {distributed_a2a-0.1.6rc3 → distributed_a2a-0.1.6rc4}/distributed_a2a.egg-info/SOURCES.txt +0 -0
  16. {distributed_a2a-0.1.6rc3 → distributed_a2a-0.1.6rc4}/distributed_a2a.egg-info/dependency_links.txt +0 -0
  17. {distributed_a2a-0.1.6rc3 → distributed_a2a-0.1.6rc4}/distributed_a2a.egg-info/requires.txt +0 -0
  18. {distributed_a2a-0.1.6rc3 → distributed_a2a-0.1.6rc4}/distributed_a2a.egg-info/top_level.txt +0 -0
  19. {distributed_a2a-0.1.6rc3 → distributed_a2a-0.1.6rc4}/requirements.txt +0 -0
  20. {distributed_a2a-0.1.6rc3 → distributed_a2a-0.1.6rc4}/setup.cfg +0 -0
  21. {distributed_a2a-0.1.6rc3 → distributed_a2a-0.1.6rc4}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: distributed_a2a
3
- Version: 0.1.6rc3
3
+ Version: 0.1.6rc4
4
4
  Summary: A library for building A2A agents with routing capabilities
5
5
  Home-page: https://github.com/Barra-Technologies/distributed-a2a
6
6
  Author: Fabian Bell
@@ -83,9 +83,9 @@ class RoutingAgentExecutor(AgentExecutor):
83
83
 
84
84
 
85
85
  class RoutingExecutor(AgentExecutor):
86
- def __init__(self, router_config: RouterConfig, routing_tool: BaseTool):
86
+ def __init__(self, router_config: RouterConfig, routing_tool: BaseTool) -> None:
87
87
  super().__init__()
88
- api_key = os.environ.get(router_config.agent.llm.api_key_env)
88
+ api_key = os.environ.get(router_config.router.llm.api_key_env)
89
89
  self.routing_agent = StatusAgent[RoutingResponse](
90
90
  llm_config=router_config.agent.llm,
91
91
  system_prompt=ROUTING_SYSTEM_PROMPT,
@@ -1,3 +1,4 @@
1
+ import os
1
2
  from typing import Any
2
3
 
3
4
  from a2a.server.apps import A2ARESTFastAPIApplication
@@ -30,6 +31,7 @@ def load_router(router_dic: dict[str, Any]) -> FastAPI:
30
31
  preferred_transport=router_config.router.card.preferred_transport_protocol,
31
32
  capabilities=CAPABILITIES
32
33
  )
34
+
33
35
  executor = RoutingExecutor(
34
36
  router_config=router_config,
35
37
  routing_tool=DynamoDbRegistryLookup(agent_card_tabel=AGENT_CARD_TABLE).as_tool()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: distributed_a2a
3
- Version: 0.1.6rc3
3
+ Version: 0.1.6rc4
4
4
  Summary: A library for building A2A agents with routing capabilities
5
5
  Home-page: https://github.com/Barra-Technologies/distributed-a2a
6
6
  Author: Fabian Bell
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "distributed_a2a"
7
- version = "0.1.6rc3"
7
+ version = "0.1.6rc4"
8
8
  description = "A library for building A2A agents with routing capabilities"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"