fix(coding): bound missing Pi settlement
This commit is contained in:
@@ -426,7 +426,14 @@ class AgentThread {
|
||||
this.emit(success(id, 'prompt'));
|
||||
},
|
||||
}).catch((error) => {
|
||||
if (!accepted) this.emit(failure(id, 'prompt', error));
|
||||
if (!accepted) {
|
||||
this.emit(failure(id, 'prompt', error));
|
||||
return;
|
||||
}
|
||||
this.emit({
|
||||
type: 'makelore_thread_error',
|
||||
code: 'PROMPT_FAILED_AFTER_ACCEPTANCE',
|
||||
});
|
||||
});
|
||||
return undefined;
|
||||
}
|
||||
@@ -452,6 +459,7 @@ class AgentThread {
|
||||
thinkingLevel: session.thinkingLevel,
|
||||
isStreaming: session.isStreaming,
|
||||
isCompacting: session.isCompacting,
|
||||
retryAttempt: session.retryAttempt,
|
||||
steeringMode: session.steeringMode,
|
||||
followUpMode: session.followUpMode,
|
||||
sessionFile: session.sessionFile,
|
||||
|
||||
Reference in New Issue
Block a user