Add load_mcp_documentation tool (#2703)
* Add load_mcp_documentation tool * Create fluffy-toys-punch.md
This commit is contained in:
1 parent
95120bb050
commit
0b95ad3bae
11 files changed
+421
-431
No files matched your search
@@ -989,6 +989,21 @@ export const ChatRowContent = ({ message, isExpanded, onToggleExpand, lastModifi
|
||||
<CheckmarkControl messageTs={message.ts} isCheckpointCheckedOut={message.isCheckpointCheckedOut} />
|
||||
</>
|
||||
)
|
||||
case "load_mcp_documentation":
|
||||
return (
|
||||
<div
|
||||
style={{
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
color: "var(--vscode-foreground)",
|
||||
opacity: 0.7,
|
||||
fontSize: 12,
|
||||
padding: "4px 0",
|
||||
}}>
|
||||
<i className="codicon codicon-book" style={{ marginRight: 6 }} />
|
||||
Loading MCP documentation
|
||||
</div>
|
||||
)
|
||||
case "completion_result":
|
||||
const hasChanges = message.text?.endsWith(COMPLETION_RESULT_CHANGES_FLAG) ?? false
|
||||
const text = hasChanges ? message.text?.slice(0, -COMPLETION_RESULT_CHANGES_FLAG.length) : message.text
|
||||
|
||||
@@ -224,6 +224,7 @@ const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryVie
|
||||
case "mcp_server_response":
|
||||
case "completion_result":
|
||||
case "tool":
|
||||
case "load_mcp_documentation":
|
||||
break
|
||||
}
|
||||
break
|
||||
|
||||
Reference in new issue
Block a user