smarta2a 0.4.5__py3-none-any.whl → 0.4.6__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.
@@ -94,6 +94,12 @@ class ToolsManager:
94
94
  print("--- new_args ---")
95
95
  print(new_args)
96
96
  print("--- end of new_args ---")
97
+ print("--- tool_name ---")
98
+ print(tool_name)
99
+ print("--- end of tool_name ---")
100
+ print("--- client ---")
101
+ print(client.url)
102
+ print("--- end of client ---")
97
103
  result = await client.call_tool(tool_name, new_args)
98
104
  print("--- result ---")
99
105
  print(result)
@@ -102,6 +108,11 @@ class ToolsManager:
102
108
 
103
109
  except Exception as e:
104
110
  # This will catch ANY error in the body above
111
+ print("--- EXCEPTION CAUGHT ---")
112
+ print(f"Error Type: {type(e).__name__}")
113
+ print(f"Error Message: {str(e)}")
114
+ print("--- END OF EXCEPTION DETAILS ---")
115
+
105
116
  raise
106
117
 
107
118
  def _get_tool_name(self, tool_key: str) -> str:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: smarta2a
3
- Version: 0.4.5
3
+ Version: 0.4.6
4
4
  Summary: a Python framework that helps you build servers and AI agents that communicate using the A2A protocol
5
5
  Project-URL: Homepage, https://github.com/siddharthsma/smarta2a
6
6
  Project-URL: Bug Tracker, https://github.com/siddharthsma/smarta2a/issues
@@ -32,9 +32,9 @@ smarta2a/utils/agent_discovery_manager.py,sha256=6KpRSQH_EDUOZbF4wFRsZneZGIPLXFP
32
32
  smarta2a/utils/prompt_helpers.py,sha256=M3UUjFQEspEAnNm54Dip0-D7mMFFZLrP_s_89ZPe6fs,1438
33
33
  smarta2a/utils/task_builder.py,sha256=wqSyfVHNTaXuGESu09dhlaDi7D007gcN3-8tH-nPQ40,5159
34
34
  smarta2a/utils/task_request_builder.py,sha256=6cOGOqj2Rg43xWM03GRJQzlIZHBptsMCJRp7oD-TDAQ,3362
35
- smarta2a/utils/tools_manager.py,sha256=B-lW55qUw2ZX9oJ4--L4ozhN83t742BmIuqGza64YQs,4535
35
+ smarta2a/utils/tools_manager.py,sha256=Xe0iFeT22nMnjZNceY3PE5zxLLswkM55fpcbSW-Nxr8,4966
36
36
  smarta2a/utils/types.py,sha256=kzA6Vv5xXfu1sJuxhEXrglI9e9S6eZVIljMnsrQVyN0,13650
37
- smarta2a-0.4.5.dist-info/METADATA,sha256=YBTsM4vXjhqf8-7rUXquIHpu5GbfrZGO6yNfBgYL-0E,12987
38
- smarta2a-0.4.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
39
- smarta2a-0.4.5.dist-info/licenses/LICENSE,sha256=lDbqrxVnzDMY5KJ8JS1WhvkWE8TJaw-O-CHDy-ecsJA,2095
40
- smarta2a-0.4.5.dist-info/RECORD,,
37
+ smarta2a-0.4.6.dist-info/METADATA,sha256=-11g19lk2qHM_AYTdjbkah4zltFj3pyRVRdKSZBjXMw,12987
38
+ smarta2a-0.4.6.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
39
+ smarta2a-0.4.6.dist-info/licenses/LICENSE,sha256=lDbqrxVnzDMY5KJ8JS1WhvkWE8TJaw-O-CHDy-ecsJA,2095
40
+ smarta2a-0.4.6.dist-info/RECORD,,