Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: "Pretty" view only shows first message in each request #2957

Open
hamiltont opened this issue Nov 12, 2024 · 0 comments
Open

[Bug]: "Pretty" view only shows first message in each request #2957

hamiltont opened this issue Nov 12, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@hamiltont
Copy link

What happened?

When viewing an individual request, the default formatter is Pretty which is great. However, for the following JSON (generated by continue.dev, but I believe multiple AI-coding tools generate multi-message formats like this) only shows the first user message even when fully expanded. To see the second message What is 4+7? you have to use the json view. Suspect this is a little assumption error in helicone. Hope the report helps!

Screenshot 2024-11-12 at 12 31 26 PM
{
  "max_tokens": 4096,
  "model": "claude-3-haiku-20240307",
  "stream": true,
  "messages": [
    {
      "role": "user",
      "content": [
        {
          "type": "text",
          "text": "The following file is currently open. Don't reference it if it's not relevant to the user's message.\n\n```backend/app/osm_client/schemas/api/examples/changeset:10:upload.osm\n<diffResult generator=\"OpenStreetMap Server\" version=\"0.6\">\n\t<way old_id=\"4306559034\" new_id=\"4306559034\" new_version=\"7\"/>\n</diffResult>\n\n```\n"
        },
        {
          "type": "text",
          "text": "What is 4+7?"
        }
      ]
    }
  ]
}

Relevant log output

No response

Twitter / LinkedIn details

No response

@hamiltont hamiltont added the bug Something isn't working label Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant