Skip to content

[Bug]: long input makes online eval unusable #3999

@rmenziejr

Description

@rmenziejr

What component(s) are affected?

  • Opik Python SDK
  • Opik Typescript SDK
  • Opik Agent Optimizer SDK
  • Opik UI
  • Opik Server
  • Documentation

Opik version

  • Opik version: 1.8.2

Describe the problem

When a long message or input is included in the trace the ui cuts the full input making the json unreadable since the bracket doesn’t close.

Reproduction steps and code snippets

Send trace with long input: 50k tokens for example. Then when going to online evaluators and you have to provide values into the prompt it doesn’t show any inputs since the json is unreadable. Technically same issue on outputs if those are too long.

Pulling the trace from the api shows the db is retaining the full trace so issue is purely UI driven.

Error logs or stack trace

No response

Healthcheck results

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions