Skip to content

Commit 4917777

Browse files
SudipSinhaclaude
andcommitted
fix(api): add deprecated id alias in MMD 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 43bd26a commit 4917777

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • src/endpoints/metrics/drift

src/endpoints/metrics/drift/mmd.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@ async def list_mmd_requests(
314314
):
315315
requests_list.append(
316316
{
317+
"id": str(request_id), # deprecated: use requestId
317318
"requestId": str(request_id),
318319
"modelId": request.model_id,
319320
"metricName": METRIC_NAME,

0 commit comments

Comments
 (0)