mirror of
https://github.com/andrepimenta/claude-code-chat.git
synced 2025-12-13 13:49:47 +00:00
fix: input overflow and flexible panel positioning
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user