-
[OPIK-3437] show Messages tab when at least input or output field is valid (#5070)
发布于
2026-02-05 10:37:25 +00:00 - feat: show Messages tab when at least one field is valid
Enable Messages tab to display when either input or output contains
valid LLM message data, instead of requiring both fields to be valid.Changes:
- Add 'empty' flag to LLMProviderDetectionResult to distinguish
between "no data" and "invalid data" - Update detectLLMMessages to return empty=true for null/undefined/empty data
- Update canShowMessagesTab logic to show tab when at least one field
is valid and neither field is invalid
This allows traces with valid input but no output (or vice versa) to
display in the Messages tab, improving UX for incomplete traces.- fix: prettier formatting for hasInvalid line
下载附件