interface ChatCohereCallOptions {
    streamUsage?: boolean;
    tools?: any[];
}

Hierarchy (view full)

Properties

Properties

streamUsage?: boolean

Whether or not to include token usage when streaming. This will include an extra chunk at the end of the stream with eventType: "stream-end" and the token usage in usage_metadata.

{true}
tools?: any[]