Add MCP support (#1028)

This commit is contained in:
Will Chen
2025-09-19 15:43:39 -07:00
committed by GitHub
parent 7b160b7d0b
commit 6d3c397d40
39 changed files with 3865 additions and 650 deletions

View File

@@ -29,6 +29,8 @@ export function ChatModeSelector() {
return "Build";
case "ask":
return "Ask";
case "agent":
return "Agent";
default:
return "Build";
}
@@ -70,6 +72,14 @@ export function ChatModeSelector() {
</span>
</div>
</SelectItem>
<SelectItem value="agent">
<div className="flex flex-col items-start">
<span className="font-medium">Agent (experimental)</span>
<span className="text-xs text-muted-foreground">
Agent can use tools (MCP) and generate code
</span>
</div>
</SelectItem>
</SelectContent>
</Select>
);