Skip to content

Commit c4d6947

Browse files
daniel-lxsmrubens
andauthored
Update src/core/environment/getEnvironmentDetails.ts
Co-authored-by: Matt Rubens <[email protected]>
1 parent ce819eb commit c4d6947

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/core/environment/getEnvironmentDetails.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,7 @@ export async function getEnvironmentDetails(cline: Task, includeFileDetails: boo
197197

198198
// Add context tokens information.
199199
const { contextTokens, totalCost } = getApiMetrics(cline.clineMessages)
200-
const { id: modelId, info: modelInfo } = cline.api.getModel()
201-
const contextWindow = modelInfo.contextWindow
200+
const { id: modelId } = cline.api.getModel()
202201

203202
details += `\n\n# Current Cost\n${totalCost !== null ? `$${totalCost.toFixed(2)}` : "(Not available)"}`
204203

0 commit comments

Comments
 (0)