18 Commits

Author SHA1 Message Date
Saifeddine ALOUI
eb5a10676d Refactor: Update API routes, data stores, and admin templates
This commit updates several API routes, data store definitions, and related templates for the admin section.

Changes include:
- Refactoring in `admin.py`, `datastores.py`, `evaluations.py`, and `proxy.py`.
- Updates to schema settings and static assets.
- Modifications to various admin templates (`base.html`, `dashboard.html`, etc.).
- Updates to agent management logic (`agentManager.ts`, `extensionState.ts`) and UI components.
2026-04-23 03:45:25 +02:00
Saifeddine ALOUI
494a86088f feat(pdf_export): Enhance PDF export rendering with Markdown support and improved code highlighting
Implements Markdown parsing for AI-generated content before PDF export and updates CSS for better inline code styling.

Specifically:
- Updates `app/api/v1/routes/evaluations.py` to use the `markdown` library to convert AI output to HTML for PDF generation, and modifies the template to conditionally render either raw answers or HTML content based on the PDF flag.
- Updates `app/static/css/styles.css` to refine the styling for inline code blocks (`.prose code`) to provide a more modern, high-contrast look.
- Adds `markdown` to `requirements.txt` to support this functionality.
- Integrates `highlight.js` in the frontend to automatically highlight code within the rendered output.
2026-04-20 01:09:26 +02:00
Saifeddine ALOUI
c602ae2cf1 feat(api/core): Refactor workflow engine and agent structure for enhanced evaluation reporting
This commit updates the core workflow engine, refactors API routes for administration, evaluation processing, and proxy handling, and updates related agent and template files.

Key changes include:
- Refactoring `workflow_engine.py` to unify workflow execution blocks.
- Updates to API routes (`admin`, `evaluations`, `importer`, `proxy`) to align with new logic.
- Adjustments to agent files (`agent.js`, `agent.py`) and associated templates for improved reporting UI.
2026-04-20 01:00:10 +02:00
Saifeddine ALOUI
a9ae396b72 chore(release): integrate v1.2.0 feature batch
- Update binary management endpoints in admin API
- Enhance proxy routing with improved token tracking
- Refactor tool testing API resolution logic
- Improve vLLM installation flow in instance manager
- Add debug tracing to workflow engine execution
- Update admin UI templates and styling for instances and model playground
2026-04-14 23:30:41 +02:00
Saifeddine ALOUI
e201a9a811 style(admin): improve UI layout and add wizard animations 2026-04-14 09:41:29 +02:00
Saifeddine ALOUI
51f4557eed feat: enhance workflow engine and standardize node templates
- Update workflow engine configuration and proxy handling
- Refactor node builder API routes for improved structure
- Add CSRF protection to conception workflow endpoints
- Update database models and migration scripts
- Standardize agentic and cognitive node templates (RAG, MoE, vision)
- Refresh admin UI templates and styling
- Bump dependencies in pyproject.toml and requirements.txt
2026-04-13 02:19:10 +02:00
Saifeddine ALOUI
7c479db2ab feat(tools): add CRUD operations for admin tools management
- Implement POST/PUT/DELETE endpoints in tools API routes
- Extend ToolsManager with save, update, and delete capabilities
- Add responsive styling fixes for admin panel layout
- Update admin navigation icons in base template
- Enhance bots management UI with improved layout and functionality
2026-04-12 00:46:03 +02:00
Saifeddine ALOUI
fe37354bf2 feat: enhance admin UI and improve proxy event handling
- Update admin templates (base, help, model_playground, routers, settings)
- Change default event sender from "anon" to "system" in ProxyEvent
- Improve payload normalization in proxy routes
- Refine server CRUD operations for model relationships
- Update settings schema and database models
- Upgrade dependencies in requirements.txt
2026-04-10 03:06:24 +02:00
Saifeddine ALOUI
b6d638b7b1 feat(admin): add image description extraction and enhance model management UI
- Add image description extraction for multimodal requests in proxy routing
- Update admin models manager with improved template context handling
- Reduce default retry attempts from 5 to 2 for faster failure response
- Fix deep copy issue in playground chat streaming
- Update model metadata CRUD with token pricing improvements
- Enhance admin UI templates and styling for ensembles and routers
2026-03-30 03:02:47 +02:00
Saifeddine ALOUI
cec339970f feat(servers): add encrypted API key support for Ollama servers
- Add encrypted_api_key column to OllamaServer model
- Update migrations for new database schema
- Enhance server CRUD operations to handle encrypted API keys
- Modify instance manager initialization
- Update admin edit server form and help documentation
2026-03-27 16:43:07 +01:00
Saifeddine ALOUI
abe3ace3bc feat(admin): add log rotation and retention controls
- Implement RotatingFileHandler for log management
- Add log_max_size and retention settings to AppSettingsModel
- Update admin panel UI with logging configuration controls
- Enhance proxy pool selection logic with improved error handling
- Refactor ensemble orchestrator database schema
- Update gunicorn configuration for production tuning
2026-03-24 02:29:49 +01:00
Saifeddine ALOUI
58772823b2 feat: add instance manager with real-time performance metrics
- Implement instance management routes in admin API
- Add TTFT/TPS tracking to ProxyEvent telemetry
- Update admin templates (base, bundles, help, live_status, playground)
- Fix server CRUD safe name truncation and migration imports
2026-03-19 13:58:35 +01:00
Saifeddine ALOUI
f30a53e137 done 2025-11-11 21:50:16 +01:00
Saifeddine ALOUI
6bcb7e2983 Upgraded ui 2025-11-11 18:43:36 +01:00
Saifeddine ALOUI
5eb1dcb63b enhanced 2025-11-10 03:11:51 +01:00
Saifeddine ALOUI
4ea6646443 Added cool testing tools 2025-11-09 22:36:51 +01:00
Saifeddine ALOUI
e13c057e43 Added embeddinf models testing 2025-11-09 19:31:03 +01:00
Saifeddine ALOUI
328e5437b1 Final version 2025-10-31 03:25:52 +01:00