# MarkBaseEngine v1 Rust-based LLM/VLM inference service manager for llama.cpp. ## Features - **Model Management**: Start/stop/restart llama-server automatically - **Health Monitoring**: Periodic health checks with auto-restart - **OpenAI-compatible API**: Transparent proxy to llama.cpp - **Configuration**: JSON-based model configuration ## Installation ```bash cargo build --release ``` ## Usage ```bash ./target/release/markbaseengine --config config.json ``` ## API Endpoints - `GET /health` - Health check - `GET /v1/models` - List models - `POST /v1/chat/completions` - Chat completions - `POST /admin/restart` - Restart LLM server - `GET /admin/status` - Server status ## Configuration Edit `config.json` to specify: - Model path - Server port - Context size - GPU layers - Temperature, max_tokens, etc. ## License MIT