Fix join inference warning
This commit is contained in:
@@ -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}`);
|
||||||
|
|||||||
Reference in New Issue
Block a user