Atualiza o modal de histórico de versões para exibir o modelo de IA e melhorar a visualização do prompt. Adiciona a funcionalidade de expandir/recolher para o prompt de cada versão.
Implement modal for creating agents with name and AI model fields. Upon creation, the user is redirected to the agent details page. The modal now only includes the necessary fields and navigation logic.
Add a status badge next to the agent name to indicate if the agent is active or inactive. Active agents will display a green badge with a filled circle, while inactive agents will show a gray badge with an outlined circle. The "Activate" button is now styled with a green background, and the "Deactivate" button retains its red styling.
Reorganize the agent details page to place the agent title on the left and action buttons (Version History, Activate/Deactivate, Save Changes) on the right. The AI model and system prompt fields now have flexible width to occupy the full screen width. Added functionality to toggle agent status.
Update agent cards to display title, AI model, status, and agent version. Remove the options button and replace it with a chevron icon to navigate to the agent details screen.
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.