Skip to content

You need to expose message_delta #2

@shawhu

Description

@shawhu

add the following to index.js. why? because it's the only way to get event.usage.output_tokens

message_delta: (event) => {
            cbs.onMessageDelta?.(JSON.parse(event.data));
        },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions