fix: aislamiento estricto de conversaciones de chat por usuario e inferencia simultanea (v3.8.26)
This commit is contained in:
@@ -1,10 +1,16 @@
|
||||
{% set current_role_name = (current_user.role if current_user and current_user.role else (user.role if user and user.role else 'alumno')) | lower %}
|
||||
{% set active_auth_user = auth_user if (auth_user and auth_user.is_authenticated) else (current_user if (current_user and current_user.is_authenticated) else user) %}
|
||||
{% set current_user_id = active_auth_user.id if active_auth_user and active_auth_user.id else '' %}
|
||||
{% set current_user_email = active_auth_user.email if active_auth_user and active_auth_user.email else '' %}
|
||||
{% set current_role_name = (active_auth_user.role if active_auth_user and active_auth_user.role else 'alumno') | lower %}
|
||||
<!-- ===================================================== -->
|
||||
<!-- WIDGET FLOTANTE: UdeCi - TUTOR VIRTUAL UNICABA -->
|
||||
<!-- SDD-010: Arquitectura RAG y Asistencia Contextual -->
|
||||
<!-- ===================================================== -->
|
||||
|
||||
<div id="aiChatContainer" class="ai-chat-container" data-user-role="{{ current_role_name }}">
|
||||
<div id="aiChatContainer" class="ai-chat-container"
|
||||
data-user-id="{{ current_user_id }}"
|
||||
data-user-email="{{ current_user_email }}"
|
||||
data-user-role="{{ current_role_name }}">
|
||||
<!-- Botón Lanzador Flotante -->
|
||||
<button id="aiChatLauncher" class="ai-chat-launcher btn shadow-lg" type="button" aria-label="Abrir UdeCi" title="UdeCi - Tutor Virtual UniCABA">
|
||||
<span class="ai-launcher-icon"><i class="bi bi-chat-heart-fill"></i></span>
|
||||
|
||||
Reference in New Issue
Block a user