Input and output data to associate with the trace
This is a legacy function for backward compatibility with Langfuse platform features that still rely on trace-level input/output (e.g., legacy LLM-as-a-judge evaluators). It will be removed in a future major version.
For setting other trace attributes (userId, sessionId, metadata, tags, version), use propagateAttributes instead.
Set trace-level input and output for the currently active trace.
This function finds the currently active OpenTelemetry span and sets trace-level input/output on it. If no active span is found, a warning is logged.