We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6b5087 commit 48621d3Copy full SHA for 48621d3
src/core/Cline.ts
@@ -3697,7 +3697,7 @@ export class Cline extends EventEmitter<ClineEvents> {
3697
const contextPercentage =
3698
contextTokens && contextWindow ? Math.round((contextTokens / contextWindow) * 100) : undefined
3699
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)"}`
+ details += `\n\n# Current Cost\n${totalCost !== null ? `$${totalCost.toFixed(2)}` : "(Not available)"}`
3701
// Add current mode and any mode-specific warnings
3702
const {
3703
mode,
0 commit comments