hud-python 0.4.7__py3-none-any.whl → 0.4.8__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.
Potentially problematic release.
This version of hud-python might be problematic. Click here for more details.
- hud/clients/fastmcp.py +13 -9
- hud/clients/mcp_use.py +1 -1
- hud/utils/tests/test_version.py +1 -1
- hud/version.py +1 -1
- {hud_python-0.4.7.dist-info → hud_python-0.4.8.dist-info}/METADATA +2 -1
- {hud_python-0.4.7.dist-info → hud_python-0.4.8.dist-info}/RECORD +9 -9
- {hud_python-0.4.7.dist-info → hud_python-0.4.8.dist-info}/WHEEL +0 -0
- {hud_python-0.4.7.dist-info → hud_python-0.4.8.dist-info}/entry_points.txt +0 -0
- {hud_python-0.4.7.dist-info → hud_python-0.4.8.dist-info}/licenses/LICENSE +0 -0
hud/clients/fastmcp.py
CHANGED
|
@@ -105,15 +105,19 @@ class FastMCPHUDClient(BaseHUDClient):
|
|
|
105
105
|
raise
|
|
106
106
|
|
|
107
107
|
# Configure validation for output schemas based on client setting
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
108
|
+
try:
|
|
109
|
+
from hud_mcp.client.session import ValidationOptions # type: ignore[import-not-found]
|
|
110
|
+
|
|
111
|
+
if (
|
|
112
|
+
hasattr(self._client, "_session_state")
|
|
113
|
+
and self._client._session_state.session is not None
|
|
114
|
+
):
|
|
115
|
+
self._client._session_state.session._validation_options = ValidationOptions(
|
|
116
|
+
strict_output_validation=self._strict_validation
|
|
117
|
+
)
|
|
118
|
+
except ImportError:
|
|
119
|
+
# ValidationOptions may not be available in some mcp versions
|
|
120
|
+
pass
|
|
117
121
|
|
|
118
122
|
logger.info("FastMCP client connected")
|
|
119
123
|
|
hud/clients/mcp_use.py
CHANGED
|
@@ -73,7 +73,7 @@ class MCPUseHUDClient(BaseHUDClient):
|
|
|
73
73
|
|
|
74
74
|
# Configure validation for all sessions based on client setting
|
|
75
75
|
try:
|
|
76
|
-
from
|
|
76
|
+
from hud_mcp.client.session import ValidationOptions # type: ignore[import-not-found]
|
|
77
77
|
|
|
78
78
|
for session in self._sessions.values():
|
|
79
79
|
if (
|
hud/utils/tests/test_version.py
CHANGED
hud/version.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: hud-python
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.8
|
|
4
4
|
Summary: SDK for the HUD platform.
|
|
5
5
|
Project-URL: Homepage, https://github.com/hud-evals/hud-python
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/hud-evals/hud-python/issues
|
|
@@ -37,6 +37,7 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
37
37
|
Requires-Python: <3.14,>=3.11
|
|
38
38
|
Requires-Dist: fastmcp>=2.11.2
|
|
39
39
|
Requires-Dist: httpx<1,>=0.23.0
|
|
40
|
+
Requires-Dist: hud-mcp-python-sdk>=0.1.0
|
|
40
41
|
Requires-Dist: opentelemetry-api>=1.34.1
|
|
41
42
|
Requires-Dist: opentelemetry-exporter-otlp-proto-http>=1.34.1
|
|
42
43
|
Requires-Dist: opentelemetry-instrumentation-mcp>=0.44.1
|
|
@@ -2,7 +2,7 @@ hud/__init__.py,sha256=BjAhZtsHbGN371Q8t3o4v4jltedkmDE85xW0yOILU9g,397
|
|
|
2
2
|
hud/datasets.py,sha256=8lqC840kcNx01D2CcWZCd1j0eZTpepILmQrvohZIZYU,12056
|
|
3
3
|
hud/settings.py,sha256=WIJDsyrfwBZGcaGT46YUOpW8xjBZl3siXXprd92ASAg,2039
|
|
4
4
|
hud/types.py,sha256=pQWOPYXUZ2hhK0h-AHBc3DCj5tkbRXHqKZnsQQIcSFA,4237
|
|
5
|
-
hud/version.py,sha256=
|
|
5
|
+
hud/version.py,sha256=n3MvdSsUHXIUcsZAI-DHe4308kLQjnfQJUJxlTqZcTk,104
|
|
6
6
|
hud/agents/__init__.py,sha256=UoIkljWdbq4bM0LD-mSaw6w826EqdEjOk7r6glNYwYQ,286
|
|
7
7
|
hud/agents/base.py,sha256=OdvuPMMZFGMft5PEkImjs_nWi-05hJyGJMBSOGbtxBo,22258
|
|
8
8
|
hud/agents/claude.py,sha256=snbYFPW-KAkw4n9Rdz7dC2f46RuSHJKC53HPm8SucFM,14273
|
|
@@ -45,8 +45,8 @@ hud/cli/tests/test_utils.py,sha256=dKmHgyLtDEqKVXlvs5tyNHyHhpBlZHUpmJF-iUraBVM,1
|
|
|
45
45
|
hud/clients/README.md,sha256=XNE3mch95ozDgVqfwCGcrhlHY9CwT1GKfNANNboowto,3826
|
|
46
46
|
hud/clients/__init__.py,sha256=bcPIa7dwH5ENsjh7CzjsJ84fm7Ma93NBc2lGfSjGAKM,328
|
|
47
47
|
hud/clients/base.py,sha256=y2yH8H4-cefWiI3oey_YPKLpDM2OwZ-hgvpjoOpEb8c,13459
|
|
48
|
-
hud/clients/fastmcp.py,sha256
|
|
49
|
-
hud/clients/mcp_use.py,sha256=
|
|
48
|
+
hud/clients/fastmcp.py,sha256=--2PjAvY3R8pE6wEeoMp4fnx9hKV_ZNDtSABaV3I1RU,9386
|
|
49
|
+
hud/clients/mcp_use.py,sha256=kezm9LXHEVHafTy7FPUP2GU6lpF29lVS7Qh39vIbdsg,11985
|
|
50
50
|
hud/clients/tests/__init__.py,sha256=sKOtJFFa4mDIXh1U6O8ZUHjigE8CiRMQ2PzJTIBZuVE,33
|
|
51
51
|
hud/clients/tests/test_client_integration.py,sha256=kohU6jfCNfwSnAushHeB1_CmDlRfQc7VBL0GEdJYSeI,4198
|
|
52
52
|
hud/clients/tests/test_fastmcp.py,sha256=4q3TzDjuieTZa89taiNJIrzbUncNkYOG4MaubypA21k,13030
|
|
@@ -122,10 +122,10 @@ hud/utils/tests/test_async_utils.py,sha256=RkdSnYErRV3Jn7dfg6CPlcE1RSUL__2B627oI
|
|
|
122
122
|
hud/utils/tests/test_init.py,sha256=2QLQSGgyP9wJhOvPCusm_zjJad0qApOZi1BXpxcdHXQ,383
|
|
123
123
|
hud/utils/tests/test_progress.py,sha256=QSF7Kpi03Ff_l3mAeqW9qs1nhK50j9vBiSobZq7T4f4,7394
|
|
124
124
|
hud/utils/tests/test_telemetry.py,sha256=5jl7bEx8C8b-FfFUko5pf4UY-mPOR-9HaeL98dGtVHM,2781
|
|
125
|
-
hud/utils/tests/test_version.py,sha256=
|
|
125
|
+
hud/utils/tests/test_version.py,sha256=LgQ3W3Po_KoWylqy34yhOS13aoNeLOjnQgnRVcihRsk,159
|
|
126
126
|
hud/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
127
|
-
hud_python-0.4.
|
|
128
|
-
hud_python-0.4.
|
|
129
|
-
hud_python-0.4.
|
|
130
|
-
hud_python-0.4.
|
|
131
|
-
hud_python-0.4.
|
|
127
|
+
hud_python-0.4.8.dist-info/METADATA,sha256=OKPu4yjzHm8OaGJhgxwVcCVvLF3GGFKb46DTmz3XcEQ,19669
|
|
128
|
+
hud_python-0.4.8.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
129
|
+
hud_python-0.4.8.dist-info/entry_points.txt,sha256=jJbodNFg1m0-CDofe5AHvB4zKBq7sSdP97-ohaQ3ae4,63
|
|
130
|
+
hud_python-0.4.8.dist-info/licenses/LICENSE,sha256=yIzBheVUf86FC1bztAcr7RYWWNxyd3B-UJQ3uddg1HA,1078
|
|
131
|
+
hud_python-0.4.8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|