feat: add emoji-regex and remove-accents dependencies; enhance chat and setup pages

- Added `emoji-regex` and `remove-accents` packages to improve text processing capabilities.
- Implemented automatic Ollama startup in the chat page for better user experience.
- Enhanced setup page to include GPU selection based on hardware specifications.
- Updated chat input to support real-time validation and improved user feedback.
- Refactored message handling in chat to incorporate new processing features.
This commit is contained in:
Evandro Fonseca Junior committed 2025-11-26 16:12:16 -03:00
1 parent 4275295e4f
commit 84ea2dec19
51 files changed
+7857 -573

No files matched your search

+8
View File
@@ -1,7 +1,15 @@
export interface GpuInfo {
id: string;
name: string;
vendor: string | null;
memory_mb: number | null;
}
export interface SystemSpecs {
total_memory: number; // Bytes
cpu_count: number;
os_name: string;
gpus: GpuInfo[];
}
export interface ModelRecommendation {