You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b7b45aa
Browse filesBrowse the repository at this point in the historyBrowse files
ci.datadog-api-spec
committed
Regenerate client from commit af349bc of spec repo
Copy file name to clipboardExpand all lines: tests/v2/features/agent_observability.feature
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -395,7 +395,7 @@ Feature: Agent Observability
395
395
Given operation "UpsertLLMObsAnnotations" enabled
396
396
And new "UpsertLLMObsAnnotations" request
397
397
And request contains "queue_id" parameter from "REPLACE.ME"
398
-
And body with value {"data": {"attributes": {"annotations": [{"interaction_id": "00000000-0000-0000-0000-000000000001", "label_values": [{"label_schema_id": "abc-123", "value": "good"}, {"label_schema_id": "ef56gh78", "value": "positive"}]}]}, "type": "annotations"}}
398
+
And body with value {"data": {"attributes": {"annotations": [{"annotator": "Alex Contractor", "interaction_id": "00000000-0000-0000-0000-000000000001", "label_values": [{"label_schema_id": "abc-123", "value": "good"}, {"label_schema_id": "ef56gh78", "value": "positive"}]}]}, "type": "annotations"}}
399
399
When the request is sent
400
400
Then the response status is 400 Bad Request
401
401
@@ -404,7 +404,7 @@ Feature: Agent Observability
404
404
Given operation "UpsertLLMObsAnnotations" enabled
405
405
And new "UpsertLLMObsAnnotations" request
406
406
And request contains "queue_id" parameter from "REPLACE.ME"
407
-
And body with value {"data": {"attributes": {"annotations": [{"interaction_id": "00000000-0000-0000-0000-000000000001", "label_values": [{"label_schema_id": "abc-123", "value": "good"}, {"label_schema_id": "ef56gh78", "value": "positive"}]}]}, "type": "annotations"}}
407
+
And body with value {"data": {"attributes": {"annotations": [{"annotator": "Alex Contractor", "interaction_id": "00000000-0000-0000-0000-000000000001", "label_values": [{"label_schema_id": "abc-123", "value": "good"}, {"label_schema_id": "ef56gh78", "value": "positive"}]}]}, "type": "annotations"}}
408
408
When the request is sent
409
409
Then the response status is 404 Not Found — the queue does not exist.
410
410
@@ -413,7 +413,7 @@ Feature: Agent Observability
413
413
Given operation "UpsertLLMObsAnnotations" enabled
414
414
And new "UpsertLLMObsAnnotations" request
415
415
And request contains "queue_id" parameter from "REPLACE.ME"
416
-
And body with value {"data": {"attributes": {"annotations": [{"interaction_id": "00000000-0000-0000-0000-000000000001", "label_values": [{"label_schema_id": "abc-123", "value": "good"}, {"label_schema_id": "ef56gh78", "value": "positive"}]}]}, "type": "annotations"}}
416
+
And body with value {"data": {"attributes": {"annotations": [{"annotator": "Alex Contractor", "interaction_id": "00000000-0000-0000-0000-000000000001", "label_values": [{"label_schema_id": "abc-123", "value": "good"}, {"label_schema_id": "ef56gh78", "value": "positive"}]}]}, "type": "annotations"}}
417
417
When the request is sent
418
418
Then the response status is 200 OK — annotations created or updated. For mixed batches, denied items and other per-item errors are listed in `errors`.
0 commit comments