Add analyze_project tool

This commit is contained in:
Saoud Rizwan
2024-07-26 23:56:10 -04:00
parent 1ff481468c
commit 303da320aa
21 changed files with 1012 additions and 67 deletions

View File

@@ -345,6 +345,24 @@ const ChatRow: React.FC<ChatRowProps> = ({
/>
</>
)
case "analyzeProject":
return (
<>
<div style={headerStyle}>
{toolIcon("file-code")}
<span style={{ fontWeight: "bold" }}>
Claude wants to analyze this project:
</span>
</div>
<CodeBlock
code={tool.content!}
path={tool.path!}
syntaxHighlighterStyle={syntaxHighlighterStyle}
isExpanded={isExpanded}
onToggleExpand={onToggleExpand}
/>
</>
)
}
break
case "request_limit_reached":