[Feature Request]: Support managing and configuring model endpoints (VLM / Query Planner) in Web Studio UI
Motivation / Problem Description
Currently, OpenViking Web Studio provides a great visual management interface for Activity (Request Logs / Monitoring), Workspace (Retrieval Playground / Sessions / Skills / Tasks), and Access Control (Users / API Keys).
However, configuration for the underlying AI models (such as query_planner for retrieval intent analysis, vlm for multimodal understanding, and embedding for vector indexing) is entirely static and configuration-file based (ov.conf). Whenever users need to:
- Switch models or providers (e.g., testing different reasoning models, switching between Flash and Pro variants);
- Update an expired API Key or change the
api_baseendpoint (e.g., switching from public API to internal gateway/proxy); - Adjust model hyperparameters such as
timeout,reasoning_effort(low/medium/high), or concurrency settings;
They must connect via SSH into the host machine, manually edit /home/.../ov.conf in JSON, and run docker restart openviking via CLI.
This creates unnecessary operational overhead and friction, especially for teams where administrative users and developers interact with OpenViking primarily through Web Studio. Furthermore, any typos in ov.conf are only caught after restart via server container crash logs, with no pre-flight connection verification.
Proposed Solution & Features
We propose adding a "Model Settings / AI Providers" management tab within the Web Studio and corresponding backend API endpoints:
1. Web Studio UI
- Model Configuration View: A dedicated page under Settings (e.g.,
/settings/modelsor a new "Models" sidebar item) to inspect and configure:Query Planner: Model, Provider, API Base, API Key,reasoning_effort,timeout;VLM: Primary model, fallbacks, credentials array, extra headers/request body;Embedding: Active model, dimension, batch size.
- Credential Masking: Sensitive keys should be masked (e.g.,
sk-f8ae****3e53) with an option to reveal or replace. - "Test Connection" Button: A quick test button next to each provider configuration that fires a lightweight ping / completion request to verify endpoint accessibility, latency, and auth validity before saving.
2. Backend Server (openviking-server)
- API Endpoints:
GET /api/v1/admin/config/models: Returns current model provider configurations with masked secrets.POST /api/v1/admin/config/models/test: Tests connectivity with the provided credentials.PUT /api/v1/admin/config/models: Atomically updates the model-related sections inov.conf(with automatic backup).
- Graceful Reload: Ideally support hot-reloading the model pool in
VLMConfigSingleton, or provide an explicit "Apply & Restart Service" action in the admin UI.
Use Cases & Benefits
- Better Developer & Ops Experience: Eliminates the need for SSH access merely to rotate an API key or adjust a model's timeout.
- Safer Configuration: Pre-flight validation prevents server downtime caused by invalid endpoint URLs or malformed JSON.
- Ecosystem Consistency: Aligns OpenViking's administrative experience with modern context/database platforms that offer visual configuration.
Source: volcengine/OpenViking