Skip to content

Commit 383e366

Browse files
SudipSinhaclaude
andcommitted
fix(api): add deprecated id alias in streaming KS list response
Match PR #182 pattern — include both id and requestId in list response for Java API compatibility. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Sudip Sinha <Sudip.Sinha@RedHat.com>
1 parent f22069b commit 383e366

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/endpoints/metrics/drift/kolmogorov_smirnov_streaming.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,7 @@ async def list_ksteststreaming_requests(
342342
and hasattr(request, "fit_columns")
343343
):
344344
request_dict = {
345+
"id": str(request_id), # deprecated: use requestId
345346
"requestId": str(request_id),
346347
"modelId": request.model_id,
347348
"metricName": METRIC_NAME,

0 commit comments

Comments
 (0)