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 0c9d9b8 commit a6b5087Copy full SHA for a6b5087
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 ? `$${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