Fix join inference warning

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