1 parent
5a8e9d8fa8
commit
aed152b530
2 files changed
+13
No files matched your search
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"claude-dev": minor
|
||||||
|
---
|
||||||
|
|
||||||
|
add truncation notice when truncating manually
|
||||||
@@ -1505,6 +1505,10 @@ export class Task {
|
|||||||
"quarter", // Force aggressive truncation
|
"quarter", // Force aggressive truncation
|
||||||
)
|
)
|
||||||
await this.saveClineMessagesAndUpdateHistory()
|
await this.saveClineMessagesAndUpdateHistory()
|
||||||
|
await this.contextManager.triggerApplyStandardContextTruncationNoticeChange(
|
||||||
|
Date.now(),
|
||||||
|
await ensureTaskDirectoryExists(this.getContext(), this.taskId),
|
||||||
|
)
|
||||||
|
|
||||||
this.didAutomaticallyRetryFailedApiRequest = true
|
this.didAutomaticallyRetryFailedApiRequest = true
|
||||||
} else if (isOpenRouter && !this.didAutomaticallyRetryFailedApiRequest) {
|
} else if (isOpenRouter && !this.didAutomaticallyRetryFailedApiRequest) {
|
||||||
@@ -1515,6 +1519,10 @@ export class Task {
|
|||||||
"quarter", // Force aggressive truncation
|
"quarter", // Force aggressive truncation
|
||||||
)
|
)
|
||||||
await this.saveClineMessagesAndUpdateHistory()
|
await this.saveClineMessagesAndUpdateHistory()
|
||||||
|
await this.contextManager.triggerApplyStandardContextTruncationNoticeChange(
|
||||||
|
Date.now(),
|
||||||
|
await ensureTaskDirectoryExists(this.getContext(), this.taskId),
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log("first chunk failed, waiting 1 second before retrying")
|
console.log("first chunk failed, waiting 1 second before retrying")
|
||||||
|
|||||||
Reference in new issue
Block a user