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.
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.
This commit updates several core components related to administration, proxy handling, bot management, and application startup sequence.
**Changes include:**
* **`app/api/v1/routes/admin.py`**: Added handling for Redis password updates in the admin settings endpoint.
* **`app/api/v1/routes/proxy.py`**: Updated the shared vectorizer function to cache model description embeddings for performance.
* **`app/core/bot_manager.py`**: Refined the logic for generating unique request IDs for bots.
* **`app/main.py`**: Adjusted the application lifespan hook to ensure necessary directories are created during startup.