Skip to content

Conversation

georgestagg
Copy link

Positron Assistant emits token usage as part of the output stream, in a JSON encoded LanguageModelDataPart (See posit-dev/positron#9308 for details). This is intended to support token counting in downstream extensions using the LM API, such as Databot.

This commit tweaks copilot chat so that copilot provided LM models emit the same useful token usage data.

@georgestagg georgestagg requested a review from jmcphers October 6, 2025 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant