Commit Graph

  • eb5a10676d Refactor: Update API routes, data stores, and admin templates main Saifeddine ALOUI 2026-04-23 03:45:25 +02:00
  • 712319e929 feat(admin): improve instance lifecycle and datastore ingestion Saifeddine ALOUI 2026-04-21 05:07:05 +02:00
  • c779ae922f Update admin.py Saifeddine ALOUI 2026-04-20 14:27:26 +02:00
  • e0e3a21d44 Update pyproject.toml Saifeddine ALOUI 2026-04-20 09:17:19 +02:00
  • 865080c249 Update requirements.txt Saifeddine ALOUI 2026-04-20 09:12:57 +02:00
  • b0e28f1e42 <<<<<<< SEARCH async def admin_export_run_pdf(run_id: int, request: Request, db: AsyncSession = Depends(get_db), admin_user: User = Depends(require_admin_user)): from xhtml2pdf import pisa import io import os @@ -669,9 +675,23 @@ async def admin_export_run_pdf(run_id: int, request: Request, db: AsyncSession = # 1. Get raw context context = await _prepare_report_context(run_id, request, db) if not context: raise HTTPException(status_code=404) + + # 1.1 Try to find the associated AI analysis for this run (if any exists) + # Benchmark analysis reports are saved as LogAnalysis entries with a specific format + # We look for the most recent one containing this run's ID or relevant summary + # Since they aren't explicitly linked by FK, we rely on the preparation or a fresh fetch. + from app.database.models import LogAnalysis + stmt = select(LogAnalysis).filter(LogAnalysis.content.like(f"%Benchmark Report: {context['run'].name}%")).order_by(LogAnalysis.timestamp.desc()) + res = await db.execute(stmt) + latest_analysis = res.scalars().first() + if latest_analysis: + import markdown + md = markdown.Markdown(extensions=['fenced_code', 'tables']) + context["ai_analysis_html"] = md.convert(latest_analysis.content) + # 2. Add PDF-specific flags context["is_pdf"] = True - context["report_format"] = format # 'full' or 'summary' + context["report_format"] = format # 'full' or 'summary' Saifeddine ALOUI 2026-04-20 01:33:34 +02:00
  • ab51fcbbb8 Subject: Implement evaluation report generation and update evaluation route Saifeddine ALOUI 2026-04-20 01:29:50 +02:00
  • 494a86088f feat(pdf_export): Enhance PDF export rendering with Markdown support and improved code highlighting Saifeddine ALOUI 2026-04-20 01:09:26 +02:00
  • c602ae2cf1 feat(api/core): Refactor workflow engine and agent structure for enhanced evaluation reporting Saifeddine ALOUI 2026-04-20 01:00:10 +02:00
  • c133532971 Feat: Improve node sizing and add regex import Saifeddine ALOUI 2026-04-19 19:24:40 +02:00
  • 2a5e6b4cd6 feat(api/core): Implement admin settings and enhance proxy vectorization caching Saifeddine ALOUI 2026-04-19 19:17:25 +02:00
  • 71b25bcefb feat(admin): Implement memory management and agent context handling Saifeddine ALOUI 2026-04-19 04:21:57 +02:00
  • 7b6233349e feat: Implement core bot management, admin routes, and model metadata CRUD Saifeddine ALOUI 2026-04-19 04:05:00 +02:00
  • 5625f4c793 Refactor: Update routing, core logic, and UI templates for server management features Saifeddine ALOUI 2026-04-18 10:19:03 +02:00
  • cae71eecd6 Refactor: Improve token tracking response wrapping in proxy route Saifeddine ALOUI 2026-04-17 22:28:07 +02:00
  • 3e925a3b94 Refactor and update administrative settings, data store management, and memory handling Saifeddine ALOUI 2026-04-17 22:15:06 +02:00
  • 7d7aa20de5 feat: Update API proxy, model metadata CRUD, and admin template views Saifeddine ALOUI 2026-04-17 22:06:48 +02:00
  • b3f26a7376 from sqlalchemy.future import select from sqlalchemy.ext.asyncio import AsyncSession from sqlalchemy import update from typing import List, Optional import re from app.database.models import ModelMetadata Saifeddine ALOUI 2026-04-17 21:30:43 +02:00
  • d27671cc0b feat(admin): Enhance instance and server administration views Saifeddine ALOUI 2026-04-17 20:14:58 +02:00
  • b506c6141d feat(proxy/crud/database): Enhance context filtering, model matching, and database pooling Saifeddine ALOUI 2026-04-17 20:08:44 +02:00
  • a27a041eeb feat(system): Improve background task handling, database pooling, and graceful shutdown Saifeddine ALOUI 2026-04-17 19:29:47 +02:00
  • 7a06c8556f Refactor: Update argument passing in reverse proxy logic Saifeddine ALOUI 2026-04-17 19:26:15 +02:00
  • 2d2bc728c0 feat: enhance system architecture, introduce space_hunter, and update admin interfaces Saifeddine ALOUI 2026-04-17 19:22:34 +02:00
  • baa8938c5f feat(api): enhance server selection and retry logic for model routing Saifeddine ALOUI 2026-04-17 03:46:14 +02:00
  • 0267f0da71 feat(security): add multi-tenancy config to agent bootstrap and update proxy error handling Saifeddine ALOUI 2026-04-17 03:06:25 +02:00
  • 2fa3e74f5b feat: add LoLLMs bot agent system with enhanced admin panel Saifeddine ALOUI 2026-04-17 02:54:38 +02:00
  • 2eeafc6546 fix: improve error handling in token tracking streams Saifeddine ALOUI 2026-04-16 22:31:44 +02:00
  • ce7c562aa6 tag Saifeddine ALOUI 2026-04-16 13:03:19 +02:00
  • e1a8f77520 fixes Saifeddine ALOUI 2026-04-16 09:48:10 +02:00
  • dd09d85020 feat(auth): add admin authentication dependencies across API routes Saifeddine ALOUI 2026-04-16 00:32:31 +02:00
  • 8650db7c2d feat(run.sh): add automatic system dependency installer for Linux Saifeddine ALOUI 2026-04-15 22:39:35 +02:00
  • 43020763e7 refactor(api): update authentication handling and fix token validation logic Saifeddine ALOUI 2026-04-15 22:34:46 +02:00
  • a10579dd9f fix: align UI datastore naming with internal SafeStore keys Saifeddine ALOUI 2026-04-15 20:44:25 +02:00
  • 2bba665f71 chore: Update .gitignore and clean up log files Saifeddine ALOUI 2026-04-15 18:23:24 +02:00
  • 71f34dd523 feat: Implement core API routing, proxy logic, and logging configuration Saifeddine ALOUI 2026-04-15 18:19:23 +02:00
  • 04afa9b126 feat(evaluations): Add numpy import Saifeddine ALOUI 2026-04-15 18:01:31 +02:00
  • ad31152e84 feat(admin: feature): Implement administrative routes, core memory management, and playground interface Saifeddine ALOUI 2026-04-15 17:56:36 +02:00
  • 33699e254d feat: enhance admin monitoring, streaming, and proxy handling Saifeddine ALOUI 2026-04-15 01:47:20 +02:00
  • fca1192519 refactor(api): streamline build endpoint logic across v1 routes Saifeddine ALOUI 2026-04-14 23:37:35 +02:00
  • 65a530f1e7 refactor(docker): optimize multi-stage build for production Saifeddine ALOUI 2026-04-14 23:33:13 +02:00
  • 7fdb22e4f3 Merge branch 'main' of https://github.com/ParisNeo/ollama_proxy_server Saifeddine ALOUI 2026-04-14 23:30:46 +02:00
  • a9ae396b72 chore(release): integrate v1.2.0 feature batch Saifeddine ALOUI 2026-04-14 23:30:41 +02:00
  • 801fb7fbac Merge pull request #59 from Linutux/patch-1 Saifeddine ALOUI 2026-04-14 23:30:11 +02:00
  • 95cf7e1df8 feat: add asyncio import support across API routes and nodes Saifeddine ALOUI 2026-04-14 22:15:05 +02:00
  • ab28901b05 refactor: clean up admin templates and simplify proxy routing Saifeddine ALOUI 2026-04-14 19:59:12 +02:00
  • c2ced01024 Update todo.md Saifeddine ALOUI 2026-04-14 18:23:10 +02:00
  • b33caca39d Update proxy.py Saifeddine ALOUI 2026-04-14 11:18:59 +02:00
  • e201a9a811 style(admin): improve UI layout and add wizard animations Saifeddine ALOUI 2026-04-14 09:41:29 +02:00
  • c28b5f33b2 Update Dockerfile, missing dependencies, fixes #57 Simon Zöllner 2026-04-14 03:07:09 +02:00
  • 9b3462b24c fix(admin): correct HTML structure in help page TOC header Saifeddine ALOUI 2026-04-14 02:00:00 +02:00
  • 0c9d4473aa feat(routing): sync rule dropdowns with selected model pool Saifeddine ALOUI 2026-04-14 01:52:29 +02:00
  • 535a722714 feat(nodes): enhance identity, routing, and agent node capabilities Saifeddine ALOUI 2026-04-14 01:46:41 +02:00
  • 4181137794 feat(templates): add agentic web search template Saifeddine ALOUI 2026-04-14 00:57:09 +02:00
  • 3a114785b0 feat: add Redis client support and enhance tool execution pipeline Saifeddine ALOUI 2026-04-14 00:42:21 +02:00
  • bce0fa5c5b Merge branch 'main' of https://github.com/ParisNeo/ollama_proxy_server Saifeddine ALOUI 2026-04-13 23:51:34 +02:00
  • 849a78b763 feat(admin): add MCP server support with instance management and binary updates Saifeddine ALOUI 2026-04-13 23:47:44 +02:00
  • bed4449f41 Update admin.py Saifeddine ALOUI 2026-04-13 17:20:37 +02:00
  • 911d307900 Update instance_manager.py Saifeddine ALOUI 2026-04-13 16:33:54 +02:00
  • 23a40034c9 Update instance_manager.py Saifeddine ALOUI 2026-04-13 16:21:55 +02:00
  • c3209677eb Update admin.py Saifeddine ALOUI 2026-04-13 16:21:35 +02:00
  • 688efd3a8e Update instance_manager.py Saifeddine ALOUI 2026-04-13 16:07:25 +02:00
  • a48083f81a Update admin.py Saifeddine ALOUI 2026-04-13 15:54:36 +02:00
  • bba15c0f5f Update config.py Saifeddine ALOUI 2026-04-13 12:48:21 +02:00
  • debfadaff8 Update datastores.py Saifeddine ALOUI 2026-04-13 12:47:57 +02:00
  • ed7ba3c670 Update datastores.py Saifeddine ALOUI 2026-04-13 12:45:06 +02:00
  • 41dcd38080 Update datastores.py Saifeddine ALOUI 2026-04-13 12:38:32 +02:00
  • 53cf3c3b74 Update todo.md Saifeddine ALOUI 2026-04-13 12:25:08 +02:00
  • e192a3959e Update admin.py Saifeddine ALOUI 2026-04-13 11:08:56 +02:00
  • 0144b7e546 Update manage_server.html Saifeddine ALOUI 2026-04-13 11:08:16 +02:00
  • ddc08725e6 Update manage_server.html Saifeddine ALOUI 2026-04-13 10:37:38 +02:00
  • 118e2cf892 Update admin.py Saifeddine ALOUI 2026-04-13 10:37:00 +02:00
  • 0f1e3007a8 Update todo.md Saifeddine ALOUI 2026-04-13 09:33:42 +02:00
  • 787e91c9b7 feat(vision): implement VLM-based image hydration for text-only models Saifeddine ALOUI 2026-04-13 05:26:23 +02:00
  • 9306dba47c refactor(nodes): implement modular node architecture with categorized standard nodes Saifeddine ALOUI 2026-04-13 05:20:39 +02:00
  • 51f4557eed feat: enhance workflow engine and standardize node templates Saifeddine ALOUI 2026-04-13 02:19:10 +02:00
  • 30a6d0c6f2 feat(admin): expand telegram platform guide with detailed title Saifeddine ALOUI 2026-04-12 03:56:12 +02:00
  • 4af172f7c4 fix(workflow): pass request context to bot workflows and prevent duplicate bot startup Saifeddine ALOUI 2026-04-12 03:50:45 +02:00
  • 26dc1896db feat(nodes): expand MOE, MCP, and cognitive node capabilities Saifeddine ALOUI 2026-04-12 03:31:52 +02:00
  • f82f219196 feat(admin): add CSRF protection and enhance tool search functionality Saifeddine ALOUI 2026-04-12 02:45:25 +02:00
  • a749364b6a feat(tools): add file upload support to AI tool builder Saifeddine ALOUI 2026-04-12 01:05:13 +02:00
  • f050ef256b refactor(tools): add Any type hint to typing imports Saifeddine ALOUI 2026-04-12 00:46:32 +02:00
  • 7c479db2ab feat(tools): add CRUD operations for admin tools management Saifeddine ALOUI 2026-04-12 00:46:03 +02:00
  • 134d63d302 feat: add DataStore configuration fields and update admin tooling Saifeddine ALOUI 2026-04-11 23:57:04 +02:00
  • 5f4584a791 refactor(nodes): migrate to centralized NodeRegistry registration Saifeddine ALOUI 2026-04-11 23:05:52 +02:00
  • 5d972e8452 feat: add node builder, importer routes and enhance workflow engine link handling Saifeddine ALOUI 2026-04-11 22:35:03 +02:00
  • d57b16db7f refactor(workflow): streamline node execution and API route handlers Saifeddine ALOUI 2026-04-11 03:23:13 +02:00
  • 7a40b31eb8 feat: major refactor across admin, conception, and proxy modules Saifeddine ALOUI 2026-04-11 02:13:27 +02:00
  • 66fffc9b74 feat(admin): add internal system bypass and enhance admin settings Saifeddine ALOUI 2026-04-10 20:00:08 +02:00
  • c1600db58c refactor(admin): clean up proxy routing and standardize admin endpoints Saifeddine ALOUI 2026-04-10 04:11:00 +02:00
  • fe37354bf2 feat: enhance admin UI and improve proxy event handling Saifeddine ALOUI 2026-04-10 03:06:24 +02:00
  • 1e3ccf4f4d feat(admin): remove quick vision enabler shortcuts from ensembles and routers templates Saifeddine ALOUI 2026-04-02 02:25:31 +02:00
  • f1af371143 feat(admin): add vLLM instance management support Saifeddine ALOUI 2026-04-02 01:52:01 +02:00
  • 0c1e471867 feat: implement Master Hub Pattern for hierarchical scaling Saifeddine ALOUI 2026-04-01 16:09:47 +02:00
  • b6d638b7b1 feat(admin): add image description extraction and enhance model management UI Saifeddine ALOUI 2026-03-30 03:02:47 +02:00
  • 952825673a fix(proxy): remove duplicate function signature fragment in proxy_ollama Saifeddine ALOUI 2026-03-27 19:43:19 +01:00
  • f970d58ffa refactor(routes): simplify conditional route mounting in main.py Saifeddine ALOUI 2026-03-27 17:01:50 +01:00
  • cec339970f feat(servers): add encrypted API key support for Ollama servers Saifeddine ALOUI 2026-03-27 16:43:07 +01:00
  • 4af7f2fdda fix: prevent message mutation leakage via deep copy in agent resolution Saifeddine ALOUI 2026-03-24 02:34:45 +01:00
  • abe3ace3bc feat(admin): add log rotation and retention controls Saifeddine ALOUI 2026-03-24 02:29:49 +01:00
  • 6f4378aef5 refactor(proxy): simplify message modification logic and preserve chat history Saifeddine ALOUI 2026-03-23 10:51:54 +01:00