We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e734146 commit ead5a7cCopy full SHA for ead5a7c
src/vs/workbench/contrib/chat/browser/chatWidget.ts
@@ -1753,6 +1753,9 @@ export class ChatWidget extends Disposable implements IChatWidget {
1753
} else {
1754
// For user input, update the editor value if needed
1755
const currentValue = this.getInput();
1756
+ if (!currentValue.length) {
1757
+ return;
1758
+ }
1759
if (!currentValue.startsWith(this._codingAgentPrefix)) {
1760
const newValue = this._codingAgentPrefix + this.removeExistingAgentPrefix(currentValue);
1761
this.input.inputEditor.setValue(newValue);
0 commit comments