microsoft / microsoft/foundry-dev-tools
Agent Builder vs Playground : Token count behavior diff
Open
@xiaolang124 is already working on this.
Since Oct 9, 2025.
feature request
- Dominant language
- JavaScript
- Stars
- 2.1k
- Forks
- 260
- Avg merge
- 42m
- Merged PRs (30d)
- 29
Description
Hi There,
An Azure OpenAI model has been registered as Custom.
It works in both Agent Builder and Playground.
In Agent Builder it says Token used: nnn, where nnn is the actual token count from the usage SSE event. E.g
“usage”: { “completion_token”: 123 }
In Playground, however, it says: “This model doesn’t return token count.”
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.