Open sdimka opened 6 months ago
Added a feature to retrieve token usage in stream chat mode.
This functionality is available in the original API and could be useful for some users.
streamOptions
ChatQuery
Usage
ChatStreamResult
Issues 0 New issues 0 Accepted issues
Measures 0 Security Hotspots No data about Coverage 0.0% Duplication on New Code
See analysis details on SonarCloud
It doesn't seem to be working
What
Added a feature to retrieve token usage in stream chat mode.
Why
This functionality is available in the original API and could be useful for some users.
Affected Areas
streamOptions
parameter toChatQuery
to enable feature.Usage
inChatStreamResult
to fetch data usage results.