Fix IA (max_tokens del modelo de razonamiento + fallback al gateway), sidebar con toggle arriba, busqueda de un solo campo (paciente/global), editar expediente, marketing en visitas, responsive de agenda; doc de diagnostico WhatsApp

This commit is contained in:
2026-09-24 10:01:55 +00:00
parent d75411f0d9
commit e32a79084a
14 changed files with 897 additions and 238 deletions

View File

@@ -19,6 +19,7 @@ import {
} from '../components/ui';
import { odooApi, type Visita, type VisitaAdjunto, type Doctor, type InventoryItem } from '../services/odoo';
import type { BadgeVariant } from '../components/ui/Badge';
import { todayLocal } from '../lib/utils';
const visitaStateLabels: Record<string, string> = {
en_curso: 'En curso',
@@ -44,7 +45,7 @@ const adjuntoKindLabels: Record<string, string> = {
const MAX_ADJUNTO_BYTES = 10 * 1024 * 1024;
const hoy = () => new Date().toISOString().split('T')[0];
const hoy = () => todayLocal();
const Visitas: FC = () => {
const [visitas, setVisitas] = useState<Visita[]>([]);