Finn Jensen
10/20/2025, 7:04 PMVadim Briliantov
10/20/2025, 10:43 PMFeatureMessageProcessor in override uspend fun processMessage(message: FeatureMessage) you have to handle LLMCallCompletedEvent which has responses: List<Message.Response>. Each response has val metaInfo: ResponseMetaInfo that has the information you need:
public val totalTokensCount: Int? = null,
public val inputTokensCount: Int? = null,
public val outputTokensCount: Int? = null,
Does that help?Finn Jensen
10/21/2025, 11:52 AM