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.
- {veris_ai-0.1.0 → veris_ai-0.1.1}/PKG-INFO +1 -1
- {veris_ai-0.1.0 → veris_ai-0.1.1}/pyproject.toml +1 -1
- {veris_ai-0.1.0 → veris_ai-0.1.1}/src/veris_ai/tool_mock.py +8 -9
- {veris_ai-0.1.0 → veris_ai-0.1.1}/.gitignore +0 -0
- {veris_ai-0.1.0 → veris_ai-0.1.1}/LICENSE +0 -0
- {veris_ai-0.1.0 → veris_ai-0.1.1}/README.md +0 -0
- {veris_ai-0.1.0 → veris_ai-0.1.1}/src/veris_ai/__init__.py +0 -0
- {veris_ai-0.1.0 → veris_ai-0.1.1}/uv.lock +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: veris-ai
|
|
3
|
-
Version: 0.1.
|
|
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
|
|
@@ -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
|
|
File without changes
|