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
Add eval results and test run info support to trace update endpoints
Add two new trace update methods accessible via client.traces:
- traces.update(): PATCH /traces/id/{trace_id} to update a trace by ID
- traces.update_by_otel_span_id(): PATCH /traces/otel-span-id/{otel_span_id_hex}
to update a trace by OpenTelemetry span ID
Both endpoints accept optional fields (only sent when provided):
- custom_metadata: Dict of key-value metadata pairs
- feedback: Dict of feedback values
- eval_results: Dict of evaluation scores (bool or float)
- test_run_info: TestRunInfo with test_run_id and test_case_id
Resolves ENG-5053
Co-authored-by: Nico Tonozzi <nico@nicot.us>
0 commit comments