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