Fix join inference warning

This commit is contained in:
dwrz
2026-11-01 13:33:38 +00:00
parent 37cc4b9498
commit 019ff64621
+6 -4
View File
@@ -601,10 +601,12 @@ class Odidere {
}
} catch (error) {
if (error instanceof ApiError && error.status === 409) {
this.ui.renderError(
'This conversation is already working in another session.',
);
this.ui.appendComposeText(text);
if (hasInput) {
this.ui.renderError(
'This conversation is already working in another session.',
);
this.ui.appendComposeText(text);
}
} else if (error.name !== 'AbortError') {
console.error('inference failed:', error);
this.ui.renderError(`Inference failed: ${error.message}`);