mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
Update src/core/Cline.ts
This commit is contained in:
parent
c51f59e50b
commit
03045d8e75
1 changed files with 1 additions and 1 deletions
|
|
@ -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}`)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue