+
+ Agent
+
+
+
+ {Object.entries(AGENT_CONFIG).map(([name, config]) => {
+ const Icon = AGENT_ICONS[name];
+ const isSelected = selectedAgent === name;
+
+ return (
+
+ );
+ })}
+
+
+ );
+}
diff --git a/apps/web/src/components/chat/Chat.tsx b/apps/web/src/components/chat/Chat.tsx
index 4168c42..b760b32 100644
--- a/apps/web/src/components/chat/Chat.tsx
+++ b/apps/web/src/components/chat/Chat.tsx
@@ -9,6 +9,7 @@ import { useWorkspaceId } from "@/lib/hooks";
import { MessageList } from "./MessageList";
import { ChatInput, type ModelId, DEFAULT_TEMPERATURE, DEFAULT_MAX_TOKENS } from "./ChatInput";
import { ChatEmptyState } from "./ChatEmptyState";
+import { AgentSelector } from "./AgentSelector";
import type { Message } from "@/hooks/useChat";
export interface ChatRef {
@@ -66,6 +67,7 @@ export const Chat = forwardRef