A persistent UI banner alerting users that an AI agent is currently unable to process requests. Use this to communicate system limitations to end users.
// Source: https://github.com/kevinrivm/vocero-crm | License: MIT | Copyright 2026 Kevin Belier
// Provided via justclaw.it.com; keep this notice with the code.
import Link from "next/link";
import { Sparkles } from "lucide-react";
import type { AvisoIa } from "@/server/ai/aviso";
/**
* La franja que dice que el agente no puede contestar (issue #85).
*
* Sin descartar. Un banner que se cierra es un banner que se cierra una vez y
* nunca se vuelve a ver, y esto no es una novedad: es que el producto no está
* haciendo lo que el dueño cree que hace. Se va solo cuando se arregla.
*/
export function AvisoIaBanner({ aviso }: { aviso: AvisoIa }) {
if (!aviso) return null;
return (
<div
role="status"
data-aviso-ia
className="flex flex-wrap items-center gap-x-3 gap-
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key