46 Commits
Author SHA1 Message Date
Effi Server 5fc23a562d feat: llm-proxy - switch d'instance llama.cpp transparent + UI :3017
- Route virtuelle :3012 -> instance active (8080 Q4_K_M / 8081 IQ4_XS), etat persiste
- Alias modele qwen3.8-27b : reecriture id reel <-> alias (v1/models, chat, completions,
  embeddings, streaming SSE) -> switch transparent pour tous les harnais
- UI de gestion :3017 (statut, Activer, Tester) en page unique sans dependance ajoutee
- Fail-fast 503 (20s) si instance active arreteee, sans spam WOL
2026-09-19 12:09:02 +00:00
Effi Server 5ab8242134 refactor: remplacer les proxies Jean par un unique llm-proxy + WOL
- llm-proxy: 1 service, 4 routes (3011 Ollama, 3012 llama.cpp, 3015 STT, 3016 TTS)
- Wake-on-LAN integre avec anti-spam (3 paquets magic, timeout 300s)
- suppression de jean-router, jean-proxy, wol-proxy, litellm
- OpenWebUI repointe vers le proxy (OpenAI 3012 + Ollama 3011 + STT 3015)
- docs a jour (README, WOL)
2026-08-22 09:26:24 +00:00
Folzo e9cd1edbff docs: add jean-router architecture and session journal
- Add SESSION-2026-07-20-JEAN-ROUTER.md (complete session journal)
- Add ARCHITECTURE-JEAN-ROUTER.md (new architecture documentation)
- Remove ARCHITECTURE-LITELLM.md (replaced by jean-router)
- Update README.md with jean-router, Jean backend, and VRAM management
- Document dynamic preset discovery and VRAM switching logic
2026-07-20 11:22:47 +02:00
Folzo 1b4764e9fa fix(litellm): open-webui via OpenAI API (pas Ollama) + 3 profils Qwen3.6
LiteLLM expose l'API OpenAI /v1/* pas l'API Ollama /api/*. open-webui
doit etre branche via la section 'OpenAI API' (env OPENAI_API_BASE_URL +
OPENAI_API_KEY), pas via 'Ollama'. L'override ajoute ces vars a open-webui,
force-recreate pour propager. Confirme en prod: HTTP 200 sur :4000/v1/models
depuis le conteneur open-webui. Les 4 modeles Qwen3.6 remontent dans le chat.
2026-06-27 16:51:51 +02:00
Folzo 2a9f721c4e feat: LiteLLM multi-backends + jean-proxy avec WoL
Architecture (voir docs/ARCHITECTURE-LITELLM.md):
  open-webui -> LiteLLM:4000
                 |- qwen3.6-27b -> jean-proxy:3012 -> Jean (.11:8080)
                 |- llama3.1-8b -> wol-proxy:3011  -> Ollama (.11:11434)

Nouveaux fichiers:
- wol-proxy/ (versionne l'app.py de prod deja en place)
- jean-proxy/ (clone du wol-proxy avec HEALTH_PATH=/health + retry post-WoL
  pour services qui mettent du temps a demarrer apres WoL, ex: Jean qui
  charge 14 Go en VRAM)
- litellm/config.yaml (routing par nom de modele, drop_params=true)
- docker-compose.litellm.yml (override ADDITIF: ajoute uniquement jean-proxy
  et litellm, ne redemarre PAS open-webui/wol-proxy/hermes)

Teste en prod sur .27: Jean + Ollama repondent via LiteLLM:4000 avec
path-through de chat_template_kwargs.enable_thinking (raisonnement Qwen3.6
desactivable par requete). Zero impact hermes-webui/wol-proxy.
Basculer open-webui reste une etape manuelle (step 3 de la doc).
2026-06-27 16:19:08 +02:00
Folzo 2f270aeca8 Ajout roadmap orchestrateur wol-proxy 2026-06-14 07:58:39 +02:00
Folzo 4acea1ce6d fix: Joplin Tool uses Clipper API (localhost:41184) not Server API
- Server API (/api/items/) does not expose note CRUD, only sync protocol
- Clipper API is the only way to read/write notes remotely
- Requires Joplin desktop open + Web Clipper enabled
- Added ping() function to check connectivity
- Valves: joplin_url, joplin_api_token
2026-05-14 19:34:35 +02:00
Folzo 3e18930dbd feat: add Joplin Tool for Open WebUI (Clipper API)
- Uses local Joplin Clipper API (localhost:41184)
- 11 functions: notebooks, notes, search, create, update, TODOs, delete, ping
- Valves: joplin_url (default 192.168.1.11:41184), joplin_api_token
- Requires Joplin desktop open + Web Clipper enabled
- Synced via Joplin Server (joplin.folzocorp.fr)
2026-05-14 19:11:34 +02:00
Folzo 873432362a feat: add Leantime Open WebUI Tool (direct API, no MCPO needed)
- Tool with Valves (leantime_url, leantime_api_key)
- 14 functions: projects, tickets, comments, users, timesheets, status labels
- JSON-RPC 2.0 client matching Leantime API
- Activate/deactivate per conversation in Open WebUI
2026-05-10 22:28:28 +02:00
Folzo c4467d0da2 feat: integrate Leantime project management via MCP (leantime-mcp + MCPO)
- Add leantime-mcp Dockerfile (daniel-eder/leantime-mcp, SSE transport)
- Add leantime-mcp service to docker-compose.yml on effi-net
- Add Leantime env vars to .env.example (API_KEY, USER_EMAIL, URL)
- Update services.md: Leantime + leantime-mcp entries, dependency diagram, resource table
- Update mcp-et-n8n.md: MCPO config with leantime SSE server, new leantime-mcp section
- Add LEANTIME-INSTALLATION.md: full reinstall guide (XPenology + MCP)
2026-05-10 17:53:21 +02:00
Folzo 21674f6eaf feat: Add SearXNG for improved web search
- Add SearXNG service to docker-compose.yml (port 11112)
- Add SEARXNG_SECRET_KEY to .env.example
- Add searxng-data/settings.yml with FR engines (google, bing, ddg, qwant)
- Add docs/SEARXNG-INTEGRATION.md with OpenWebUI tool setup
2026-04-13 19:59:01 +02:00
Folzo 4f1a6cf0ce Add session doc: Joplin RAG integration + RAG config optimization
- Document Joplin export process (JEX = TAR archive)
- Clean 78 notes from 111 files (removed folders)
- Config RAG optimization: markdown headers, bge-m3, batch=32
- RAG test: 42 sources found, retrieval works
- Note: Prompt RAG needs improvement for more direct responses
2026-04-12 22:37:09 +02:00
Folzo 82ea2313f0 docs: add Effi system prompt - original and optimized versions
- Original prompt kept for reference (200+ lines, too verbose)
- New optimized prompt: ~40 lines, -75% tokens
- Added table for tools usage (Kreuzberg, web_search, sub-agent, etc.)
- Optimized version includes explicit Kreuzberg usage for OCR
2026-04-12 16:41:13 +02:00
Folzo cf406b764f fix: Beszel tool - correct PocketBase API endpoints
- Changed /api/auth/login to /api/collections/users/auth-with-password
- Changed /api/systems to /api/collections/systems/records
- Added proper error messages for connection issues
2026-04-12 13:59:50 +02:00
Folzo 26e6b89229 fix: Use Pydantic Valves pattern for OpenWebUI tool config
- Add BaseModel Valves class with configurable parameters
- beszel_url, beszel_user, beszel_password as configurable valves
- Matches ACE Step tool pattern for UI configuration
2026-04-12 13:46:20 +02:00
Folzo 6212aa6f27 fix: Use hardcoded config in Beszel tool - no env vars needed 2026-04-12 13:42:44 +02:00
Folzo 3dbd2bcc17 fix: Rename class to Tools for OpenWebUI compatibility 2026-04-12 13:39:12 +02:00
Folzo b42cfcabce feat: Add Beszel tool for OpenWebUI
Permet à Effi de:
- get_all_stats() - Stats de tous les systèmes
- get_system_stats('folzocorp') - Stats d'un système
- check_alerts() - Vérifier les alertes
- get_gpu_status('folzocorp') - Status GPU AMD
- can_run_comfyui() - Vérifier si ComfyUI peut tourner
2026-04-12 13:01:48 +02:00
Folzo b69dee1d3a docs: Mettre à jour journal de session 2026-04-12
- État final des scripts et services
- ComfyUI memory manager avec restart container
- Beszel wake service
- Résumé commits
2026-04-12 12:25:45 +02:00
Folzo cf5b39215e docs: Ajouter journal de session 2026-04-12 - RAM + Beszel 2026-04-12 10:01:55 +02:00
Folzo 5b677d840d fix(beszel): Mise à jour chemins d'installation
- Synology NAS: /volume1/docker/beszel
- EffiServer: ~/effi/beszel
- FolzoCorp: chemin projet Effi (inchangé)
2026-04-12 09:34:59 +02:00
Folzo 8b1338f824 feat(beszel): Installation Beszel monitoring infrastructure
- Ajout Hub Beszel pour Synology NAS (192.168.1.25)
  - docker-compose-hub.yml
- Ajout Agent FolzoCorp avec GPU AMD RX 7800 XT
  - docker-compose-agent-folzocorp.yml (amd_sysfs)
- Ajout Agent EffiServer (CPU only, SKIP_GPU)
  - docker-compose-agent-effiserver.yml
- Documentation: docs/BESZEL-INSTALLATION.md
- Script client Python: scripts/beszel_client.py
  - Permet à Effi d'interroger l'API Beszel
2026-04-12 09:29:59 +02:00
Folzo f69dda5e20 feat(memory): Ajout déchargement automatique mémoire sur FolzoCorp
- effi-stt: Déchargement Whisper après 300s inactivité (INACTIVITY_TIMEOUT)
  * Nouveaux endpoints: /unload, /reload, /stats
  * Modelo rechargé à la première requête
- ComfyUI: Script monitor qui décharge VRAM après inactivité
  * Vérifie usage VRAM toutes les 60s
  * Exécute workflow UnloadAllModelsNode après 300s inactivité
- Kreuzberg: Manager qui redémarre le container après seuil mémoire + inactivité
  * Restart si > 2GB pendant > 10min inactif
- Documentation: docs/MEMOIRE-GESTION.md
2026-04-12 09:26:29 +02:00
Folzo 982ec160ca feat: update ACE-Step documentation and scripts
- docs/guide-ace-step.md: Complete installation guide
- comfyui/download-ace-step.sh: Download script for all ACE-Step models
- comfyui/docker-compose.yml: Add diffusion_models and text_encoders mounts

Includes:
- ace_step_1.5_turbo_aio.safetensors (~9.4GB)
- qwen_0.6b_ace15.safetensors
- qwen_1.7b_ace15.safetensors
- ace_1.5_vae.safetensors
2026-04-08 23:30:21 +02:00
Folzo 2c46c45a64 feat: add ACE-Step 1.5 music generation support
- Add docs/guide-ace-step.md with complete installation guide
- Add comfyui/download-ace-step.sh script for downloading model
- Add ComfyUI-Unload-Model custom node for model memory management

ACE-Step 1.5 Turbo: MIT license, <4GB VRAM, 50+ languages
2026-04-08 22:20:54 +02:00
Folzo 339dac1435 docs: add step-by-step installation guide for effi-ocr 2026-04-08 22:06:31 +02:00
Folzo 0fad1d7249 docs: add comprehensive memory solutions research
- Research 8 different memory solutions (mem0, LangChain, LlamaIndex, etc.)
- Document 5 levels of AI memory
- Explain why mem0 was abandoned (5-10s latency)
- Current state: manual snippets via OpenWebUI
- Future technologies: MemGPT, memory-augmented LLMs, knowledge graphs
- Recommendations for Effi short/mid/long term
2026-04-08 21:57:23 +02:00
Folzo 9e6fbfcc25 docs: add effi-ocr usage prompt for D&D pages 2026-04-08 13:11:50 +02:00
Folzo b93148c511 docs: add audio TTS/STT research and GPU optimization documentation
- Add docs/audio/tts-research.md with Voxtral TTS, Kokoro-FastAPI, openedai-speech comparison
- Add docs/audio/stt-research.md with Voxtral STT, faster-whisper options
- Add docs/gpu/optimization.md with OLLAMA_KEEP_ALIVE and VRAM management
- Add docs/README.md with architecture overview
- Add index files for docs navigation

Research conducted April 2026 for future audio improvements
2026-04-08 12:50:57 +02:00
Folzo 33f22343a3 Ajout du prompt système Effi v1 avec versioning
- Création du répertoire docs/prompts/
- VERSIONS.md: Historique des versions du prompt
- prompt-v1.md: Version actuelle du prompt système

Ce système permet de garder les anciennes versions
du prompt lors des modifications futures.
2026-04-06 18:09:24 +02:00
Folzo 93f31cdaeb Ajout Effi-OCR (Tesseract) + Web Scraper pour OpenWebUI
- Effi-OCR: Service OCR avec Tesseract (multilingue FR/EN)
  * API FastAPI sur port 8300
  * Prétraitement images (contraste, niveaux de gris)
  * Tool OpenWebUI intégré

- Web Scraper: Service Python (BeautifulSoup) sur port 11235
  * Alternative à Crawl4AI (incompatible ARM64/J5040)
  * Scraping HTML basique mais fonctionnel
  * Intégré au docker-compose d'effi-server

- Documentation:
  * ROADMAP-FONCTIONNALITES.md: Plan des 9 fonctionnalités
  * WEB-SCRAPER-CONFIG.md: Configuration OpenWebUI
  * WEB-SCRAPER-TOOL.md: Code du Tool

- Script start-all-services.sh mis à jour (6 services)
2026-04-06 16:34:27 +02:00
Folzo 08cc05987c Add GPU diagnostic tools and fix documentation
- diagnose-gpu.sh: Complete diagnostic script for GPU usage
- GPU-HIGH-USAGE-FIX.md: Solution for OpenWebUI green icon causing 100% GPU
- Issue #21062 confirmed: animate-ping CSS animation is the culprit
- Multiple solutions provided (CSS, browser extension, zoom)
2026-04-06 09:04:11 +02:00
Folzo a22afa2258 Add WOL auto-start scripts and documentation
- check-services.sh: Verify all services after WOL
- start-all-services.sh: Start all containers after boot
- WOL-ET-DEMARRAGE-AUTO.md: Complete guide for auto-start
- Ensure ComfyUI starts automatically with Docker
2026-04-06 08:08:58 +02:00
Folzo dee796f63a Update TODO - ComfyUI image generation completed
Mark task #4 (Image Generation) as completed
Update with models installed and configuration details
Add future improvements section
2026-04-06 02:03:41 +02:00
Folzo 1f23ee70bb Add session report - ComfyUI image generation setup
- Complete ComfyUI installation with ROCm support
- 4 SDXL models installed (RealVisXL, Juggernaut, Lightning, Base)
- OpenWebUI integration functional with API workflow
- Interactive download script for models
- Comprehensive MODELS.md documentation
- Known issue: DreamShaper URL needs fixing
2026-04-06 02:02:44 +02:00
Folzo 97348e9a12 Add ComfyUI models documentation and download script
- Complete MODELS.md with detailed model descriptions
- Interactive download script for 5+ specialized SDXL models
- Updated README with model selection guide
- Fix docker-compose volumes path (/root/ComfyUI)
- API workflows for OpenWebUI integration

Models documented:
- RealVisXL (portraits)
- Juggernaut XL (versatile)
- DreamShaper (art/fantasy)
- SDXL Lightning (fast)
- Proteus (realism)
2026-04-06 01:05:18 +02:00
Folzo 8d059bed59 docs: Add complete list of remaining tasks for Effi project
- Document all 8 original priority items
- Mark STT/TTS as completed
- Detail remaining tasks: Joplin, ComfyUI, Web Search, etc.
- Provide prioritization and time estimates
- Suggest next steps based on user preference
2026-04-05 23:05:50 +02:00
Folzo 47b1327d27 docs: Complete session summary and updated TODO
- Add comprehensive session report (05/04/2026)
- Document all achievements: STT, TTS, French voices
- Update TODO with completed phases and future ideas
- Include useful commands and configurations
- Ready for future optimizations
2026-04-05 22:56:26 +02:00
Folzo e129012343 docs: Document successful STT/TTS setup and next steps 2026-04-05 22:38:27 +02:00
Folzo eb2c365220 docs: Document all TTS/STT attempts and recommended solution
- Add detailed journal of all attempts (successes and failures)
- Explain speaches v0.8+ incompatibility with model cards
- Research and document whisper-asr-webservice as stable alternative
- Provide complete deployment plan with docker-compose
- Include validation checklist
2026-04-05 21:00:53 +02:00
Folzo 3ffa867c13 docs: Add detailed guide for TTS/STT installation on Fedora
- Complete installation plan for openedai-speech (TTS) on folzo-Corp
- Complete installation plan for speaches (STT) on folzo-Corp
- Docker compose configurations for both services
- Testing procedures and troubleshooting
- Phase breakdown with current status (Phase 1 complete)
2026-04-05 09:53:37 +02:00
Folzo f90ae76b0c docs: Add complete project history from Perplexity archives
- Synthesize 8 Perplexity conversation files into comprehensive history
- Document technology choices: AFFiNE → SiYuan → Obsidian
- Detail encountered problems and solutions (MCP, TTS, STT, etc.)
- Current validated configuration with qwen3.5:9b
- Prioritized TODO list for next phases
- Key learnings and recommendations
2026-04-05 09:28:17 +02:00
Folzo 8845afcde8 docs: ajoute documentation complète OpenWebUI - Top 30 outils et configuration
- Documente les 30 meilleurs outils/fonctions/prompts pour OpenWebUI
- Ajoute guide d'optimisation pour IA locale (self-hosted)
- Inclut configuration Sub Agent Tool
- Documente mémoire native vs solutions externes testées
- Ajoute récapitulatif Gitea avec actions prioritaires

Configuration validée:
- qwen3.5:9b avec contexte 32K
- Sub Agent Tool installé et configuré
- Mémoire native (zéro latence) retenue
- Infrastructure nettoyée (7 services)

Refs: session-optimisation-2026-04-05
2026-04-05 01:03:03 +02:00
Folzo ef98a16b70 Ajout: Notice d'installation complète pour référence future 2026-04-04 11:17:34 +02:00
Folzo ba0dea40e1 Ajout: Système de gestion et synchronisation production
- Script audit-production.sh pour audit complet
- Script sync-from-production.sh pour synchronisation facile
- Guide WORKFLOW.md pour processus de modification
- README pour le dossier scripts
- Documentation complète du workflow Git
2026-04-04 09:09:46 +02:00
Folzo d1e12cff60 Initial commit: Documentation Effi v1.0
- Structure complète du projet
- Docker compose de production
- Documentation organisée par thèmes
- Guides d'installation et configuration
- Section dépannage détaillée
- Journal historique
2026-04-04 08:45:59 +02:00