Refactor viewSourceCodeDefinitionsTopLevel to listCodeDefinitionNames

This commit is contained in:
Saoud Rizwan
2024-08-29 20:53:11 -04:00
parent 2e93928c8f
commit a0f89959a4
5 changed files with 26 additions and 21 deletions

View File

@@ -571,15 +571,15 @@ const ChatRow: React.FC<ChatRowProps> = ({
/>
</>
)
case "viewSourceCodeDefinitionsTopLevel":
case "listCodeDefinitionNames":
return (
<>
<div style={headerStyle}>
{toolIcon("file-code")}
<span style={{ fontWeight: "bold" }}>
{message.type === "ask"
? "Claude wants to view source code definitions in files at the top level of this directory:"
: "Claude viewed source code definitions in files at the top level of this directory:"}
? "Claude wants to view source code definition names used in this directory:"
: "Claude viewed source code definition names used in this directory:"}
</span>
</div>
<CodeBlock