smarta2a 0.4.5__py3-none-any.whl → 0.4.7__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,9 @@ 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 ---")
97
100
  result = await client.call_tool(tool_name, new_args)
98
101
  print("--- result ---")
99
102
  print(result)
@@ -102,6 +105,11 @@ class ToolsManager:
102
105
 
103
106
  except Exception as e:
104
107
  # This will catch ANY error in the body above
108
+ print("--- EXCEPTION CAUGHT ---")
109
+ print(f"Error Type: {type(e).__name__}")
110
+ print(f"Error Message: {str(e)}")
111
+ print("--- END OF EXCEPTION DETAILS ---")
112
+
105
113
  raise
106
114
 
107
115
  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.7
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=igKYeSi0SaYzd36jUqOMPvnYd5kK55EPQ0X_pdTo5e4,4857
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.7.dist-info/METADATA,sha256=QoMXpLFVM55l6tfS68N-WqlaLSaYpZZLb1loY79SNYo,12987
38
+ smarta2a-0.4.7.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
39
+ smarta2a-0.4.7.dist-info/licenses/LICENSE,sha256=lDbqrxVnzDMY5KJ8JS1WhvkWE8TJaw-O-CHDy-ecsJA,2095
40
+ smarta2a-0.4.7.dist-info/RECORD,,