Skip to content

Issue: Total token count in Trace set to newest LLM call #1772

Open
@dangreen07

Description

@dangreen07

Issue you'd like to raise.

I've been using langsmith for a while to track agent workflows, I use a lot of parallel calls in each node in my langraph which I thought was the main reason for this issue. But it doesn't seem to be as it attributes all the calls to the same trace and even making them not-parallel. This issue still persists. I have been using the Javascript/Typescript SDK of langsmith with this, the python one seems to work fine. I also can't get it to change from the default project no matter what I do.

Suggestion:

Make it actually add up the token usage and cost, instead of just picking the newest calls usage. Seems pretty trivial, I don't know why this is an issue as it wasn't a month ago.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions