From ac29d4133b3496cb837ad4affe25bfec614375a8 Mon Sep 17 00:00:00 2001 From: Andrew Truong Date: Tue, 21 Jan 2025 22:56:14 -0500 Subject: [PATCH] test --- weave/trace_server_bindings/remote_http_trace_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weave/trace_server_bindings/remote_http_trace_server.py b/weave/trace_server_bindings/remote_http_trace_server.py index 966bf92a8151..ad7b86759182 100644 --- a/weave/trace_server_bindings/remote_http_trace_server.py +++ b/weave/trace_server_bindings/remote_http_trace_server.py @@ -232,7 +232,7 @@ def _generic_stream_request( r = self._generic_request_executor(url, req, stream=True) for line in r.iter_lines(): if line: - yield res_model.model_validate(json.loads(line)) + yield res_model.model_validate_json(line) @tenacity.retry( stop=tenacity.stop_after_delay(REMOTE_REQUEST_RETRY_DURATION),