mirror of
https://github.com/andrepimenta/claude-code-chat.git
synced 2025-12-09 08:29:43 +00:00
No completed messages
This commit is contained in:
@@ -729,6 +729,7 @@ const html = `<!DOCTYPE html>
|
|||||||
function addToolResultMessage(data) {
|
function addToolResultMessage(data) {
|
||||||
// For Read and Edit tools with hidden flag, just hide loading state and show completion message
|
// For Read and Edit tools with hidden flag, just hide loading state and show completion message
|
||||||
if (data.hidden && (data.toolName === 'Read' || data.toolName === 'Edit' || data.toolName === 'TodoWrite') && !data.isError) {
|
if (data.hidden && (data.toolName === 'Read' || data.toolName === 'Edit' || data.toolName === 'TodoWrite') && !data.isError) {
|
||||||
|
return
|
||||||
// Show completion message
|
// Show completion message
|
||||||
const toolName = data.toolName;
|
const toolName = data.toolName;
|
||||||
let completionText;
|
let completionText;
|
||||||
@@ -737,7 +738,7 @@ const html = `<!DOCTYPE html>
|
|||||||
} else if (toolName === 'Edit') {
|
} else if (toolName === 'Edit') {
|
||||||
completionText = '✅ Edit completed';
|
completionText = '✅ Edit completed';
|
||||||
} else if (toolName === 'TodoWrite') {
|
} else if (toolName === 'TodoWrite') {
|
||||||
return
|
completionText = '✅ Update Todos completed';
|
||||||
} else {
|
} else {
|
||||||
completionText = '✅ ' + toolName + ' completed';
|
completionText = '✅ ' + toolName + ' completed';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user