Skip to content

Commit 48621d3

Browse files
authored
Update src/core/Cline.ts
1 parent a6b5087 commit 48621d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/Cline.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3697,7 +3697,7 @@ export class Cline extends EventEmitter<ClineEvents> {
36973697
const contextPercentage =
36983698
contextTokens && contextWindow ? Math.round((contextTokens / contextWindow) * 100) : undefined
36993699
details += `\n\n# Current Context Size (Tokens)\n${contextTokens ? `${contextTokens.toLocaleString()} (${contextPercentage}%)` : "(Not available)"}`
3700-
details += `\n\n# Current Cost\n${totalCost != null ? `$${totalCost.toFixed(2)}` : "(Not available)"}`
3700+
details += `\n\n# Current Cost\n${totalCost !== null ? `$${totalCost.toFixed(2)}` : "(Not available)"}`
37013701
// Add current mode and any mode-specific warnings
37023702
const {
37033703
mode,

0 commit comments

Comments
 (0)