Skip to content

Commit 03045d8

Browse files
authored
Update src/core/Cline.ts
1 parent c51f59e commit 03045d8

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
@@ -875,7 +875,7 @@ export class Cline {
875875
// The way this agentic loop works is that cline will be given a task that he then calls tools to complete. unless there's an attempt_completion call, we keep responding back to him with his tool's responses until he either attempt_completion or does not use anymore tools. If he does not use anymore tools, we ask him to consider if he's completed the task and then call attempt_completion, otherwise proceed with completing the task.
876876
// There is a MAX_REQUESTS_PER_TASK limit to prevent infinite requests, but Cline is prompted to finish the task as efficiently as he can.
877877

878-
//const totalCost = this.calculateApiCostAntrhopic(totalInputTokens, totalOutputTokens)
878+
//const totalCost = this.calculateApiCostAnthropic(totalInputTokens, totalOutputTokens)
879879
if (didEndLoop) {
880880
// For now a task never 'completes'. This will only happen if the user hits max requests and denies resetting the count.
881881
//this.say("task_completed", `Task completed. Total API usage cost: ${totalCost}`)

0 commit comments

Comments
 (0)