diff --git a/internal/service/static/js/main.js b/internal/service/static/js/main.js index 9553d9a..4194b53 100644 --- a/internal/service/static/js/main.js +++ b/internal/service/static/js/main.js @@ -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}`);