Set firstCandidateBirthday when a new LLM candidate is added
This commit is contained in:
2
main.js
2
main.js
@@ -638,7 +638,7 @@ async function autoCommit(folderPath, message) {
|
|||||||
folders[idx].llmCandidates = folders[idx].llmCandidates || [];
|
folders[idx].llmCandidates = folders[idx].llmCandidates || [];
|
||||||
folders[idx].llmCandidates.push(newHead);
|
folders[idx].llmCandidates.push(newHead);
|
||||||
if(folders[idx].llmCandidates.length == 1){
|
if(folders[idx].llmCandidates.length == 1){
|
||||||
folders[idx].firstCandidateBirthday
|
folders[idx].firstCandidateBirthday = Date.now();
|
||||||
debug('[autoCommit] Erster Commit aufgenommen. Automatischer message-rewrite spätestens: ');
|
debug('[autoCommit] Erster Commit aufgenommen. Automatischer message-rewrite spätestens: ');
|
||||||
}
|
}
|
||||||
folders[idx].lastHeadHash = newHead;
|
folders[idx].lastHeadHash = newHead;
|
||||||
|
|||||||
Reference in New Issue
Block a user