fix: input overflow and flexible panel positioning

This commit is contained in:
andrepimenta
2025-07-22 21:50:56 +01:00
parent 43c1c85efb
commit 2c47349282
6 changed files with 31 additions and 10 deletions

View File

@@ -943,6 +943,10 @@ const html = `<!DOCTYPE html>
addMessage(completionText, 'system');
return; // Don't show the result message
}
if(data.isError && data.content === "File has not been read yet. Read it first before writing to it."){
return addMessage("File has not been read yet. Let me read it first before writing to it.", 'system');
}
const messageDiv = document.createElement('div');
messageDiv.className = data.isError ? 'message error' : 'message tool-result';