Skip to content

Commit ce819eb

Browse files
committed
Remove unused contextPercentage variable (#5312)
1 parent 0589fb5 commit ce819eb

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/core/environment/getEnvironmentDetails.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,9 +200,6 @@ export async function getEnvironmentDetails(cline: Task, includeFileDetails: boo
200200
const { id: modelId, info: modelInfo } = cline.api.getModel()
201201
const contextWindow = modelInfo.contextWindow
202202

203-
const contextPercentage =
204-
contextTokens && contextWindow ? Math.round((contextTokens / contextWindow) * 100) : undefined
205-
206203
details += `\n\n# Current Cost\n${totalCost !== null ? `$${totalCost.toFixed(2)}` : "(Not available)"}`
207204

208205
// Add current mode and any mode-specific warnings.

0 commit comments

Comments
 (0)