Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/MandoCode.Desktop/ViewModels/ChatController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -571,9 +571,6 @@ private string ProcessFileReferences(string input)
contextBlocks.AppendLine();
totalExpansionChars += content.Length;

if (_config.EnableTokenTracking)
_tokenTracker.RecordEstimatedUsage(content.Length, $"@{filePath}");

_transcript.Append(_html.OperationCard(new OperationDisplayEvent
{
OperationType = "Read",
Expand Down
2 changes: 1 addition & 1 deletion src/MandoCode.Desktop/ViewModels/ResponseStreamer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public async Task<string> StreamAsync(string input, CancellationToken token)
if (_config.EnableTokenTracking)
{
var lastOp = _tokenTracker.LastOperation;
if (lastOp != null && !lastOp.IsEstimate)
if (lastOp != null)
{
var tps = lastOp.TokensPerSecond.HasValue ? $": {lastOp.TokensPerSecond.Value:0.#} tok/s" : "";
_transcript.Append(_html.TokenSummary(
Expand Down
Loading