veris-ai 0.1.0__tar.gz → 0.1.1__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.

Potentially problematic release.


This version of veris-ai might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: veris-ai
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: A Python package for Veris AI tools
5
5
  Project-URL: Homepage, https://github.com/veris-ai/veris-python-sdk
6
6
  Project-URL: Bug Tracker, https://github.com/veris-ai/veris-python-sdk/issues
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "veris-ai"
7
- version = "0.1.0"
7
+ version = "0.1.1"
8
8
  description = "A Python package for Veris AI tools"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
@@ -77,15 +77,6 @@ class ToolMock:
77
77
  bound_args = sig.bind(*args, **kwargs)
78
78
  bound_args.apply_defaults()
79
79
 
80
- for param_name, param_value in bound_args.arguments.items():
81
- params_info[param_name] = {
82
- "value": param_value,
83
- "type": type_hints.get(param_name, Any).__name__,
84
- }
85
-
86
- # Get function docstring
87
- docstring = inspect.getdoc(func) or ""
88
-
89
80
  ctx = bound_args.arguments.pop('ctx', None)
90
81
  session_id = None
91
82
  if ctx:
@@ -94,6 +85,14 @@ class ToolMock:
94
85
  except AttributeError:
95
86
  logger.warning("Cannot get session_id from context.")
96
87
 
88
+ for param_name, param_value in bound_args.arguments.items():
89
+ params_info[param_name] = {
90
+ "value": param_value,
91
+ "type": type_hints.get(param_name, Any).__name__,
92
+ }
93
+
94
+ # Get function docstring
95
+ docstring = inspect.getdoc(func) or ""
97
96
  # Prepare payload
98
97
  payload = {
99
98
  "session_id": session_id,
File without changes
File without changes
File without changes
File without changes