Fix: Variables sin uso

This commit is contained in:
2025-12-05 14:09:55 -03:00
parent 5c97614e4f
commit 365f495ce6

View File

@@ -12,7 +12,7 @@ import AddIcon from '@mui/icons-material/Add';
import SendIcon from '@mui/icons-material/Send';
import apiClient from '../api/apiClient';
import ReactMarkdown from 'react-markdown';
import rehypeSanitize, { defaultSchema } from 'rehype-sanitize';
import rehypeSanitize from 'rehype-sanitize';
interface SystemPrompt {
id: number;
@@ -159,8 +159,6 @@ const SystemPromptManager: React.FC<SystemPromptManagerProps> = ({ onAuthError }
setChatHistory(prev => [...prev, { role: 'bot', text: '' }]);
let isFirstChunk = true;
while (true) {
const { done, value } = await reader.read();