Refactor agent and prompt management

Restructures the application to integrate prompt management directly into the agent details view. Removes the separate "Prompts" page and its associated components. Agents are now the root route, and clicking an agent navigates to a detail page where its system prompt, AI model, and version history can be managed.
This commit is contained in:
gpt-engineer-app[bot]
2025-11-07 19:14:00 +00:00
parent 954b09f836
commit 64b4c39c92
10 changed files with 279 additions and 1131 deletions
+1 -2
View File
@@ -1,12 +1,11 @@
import { useState } from "react";
import { NavLink } from "react-router-dom";
import { Bot, FileText, TestTube, Menu, X } from "lucide-react";
import { Bot, TestTube, Menu, X } from "lucide-react";
import { Button } from "@/components/ui/button";
import { ThemeToggle } from "./ThemeToggle";
const menuItems = [
{ title: "Agentes", url: "/", icon: Bot },
{ title: "Prompts", url: "/prompts", icon: FileText },
{ title: "Testar Prompt", url: "/test", icon: TestTube },
];