|
|
@@ -875,7 +875,7 @@ export class Cline {
|
|
|
// 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.
|
|
|
// 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.
|
|
|
|
|
|
- //const totalCost = this.calculateApiCostAntrhopic(totalInputTokens, totalOutputTokens)
|
|
|
+ //const totalCost = this.calculateApiCostAnthropic(totalInputTokens, totalOutputTokens)
|
|
|
if (didEndLoop) {
|
|
|
// For now a task never 'completes'. This will only happen if the user hits max requests and denies resetting the count.
|
|
|
//this.say("task_completed", `Task completed. Total API usage cost: ${totalCost}`)
|