yuan-lab-llm--clawmanager
4fc5201cb2
Background This update focuses on three areas: - Improve model onboarding capabilities by supporting unified configuration across multiple model service platforms - Optimize the AI audit detail page to improve trace troubleshooting and readability - Upgrade the OpenClaw runtime image and automatically enable the Gateway after instance startup Changes 1. Support multiple model service platforms - Introduce a vendor template mechanism for model onboarding, allowing quick selection of different model service platforms through a searchable dropdown - Preconfigure fixed `base_url` values for common platforms to reduce manual input and configuration errors - Support custom `base_url` for `Local / Internal`, compatible with local gateways, internal proxies, and self-hosted compatible services - Add vendor icons to improve recognizability on the model configuration page - Optimize the model creation experience so newly created cards appear at the top, making them easier to find when many models exist - Optimize provider model discovery logic to support OpenAI-compatible services with non-standard version paths 2. Optimize the AI audit detail page - Rework the trace detail layout to improve information hierarchy and readability - Change audit timestamps to a combined relative + absolute format for more intuitive troubleshooting - Add an execution flow view so the full process can be inspected by execution node - Add a minimap to quickly locate execution nodes and keep navigation aligned with detail scrolling - Remove duplicated or low-value information blocks to simplify the trace detail experience - Optimize status rendering and failure reason unwrapping to prevent error payloads from polluting the status field 3. Upgrade the OpenClaw image and automatically enable the Gateway - Upgrade the default OpenClaw runtime image to the new image address - Automatically initialize and enable the Gateway when the new image starts, reducing manual instance-side operations - Update the system default image configuration and add migration logic for existing default values
ClawReef Backend
ClawReef virtual desktop management platform backend API.
Tech Stack
- Golang 1.21+
- Gin 1.9+
- upper/db 4.x
- MySQL 8.0+
- JWT Authentication
Quick Start
Prerequisites
- Go 1.21 or higher
- MySQL 8.0+
- Docker (optional)
Development Setup
-
Install dependencies
make deps -
Start MySQL with Docker
make docker-up -
Run database migration
make migrate -
Start the server
make run
API Endpoints
Server runs on port 9001.
Authentication
POST /api/v1/auth/register- User registrationPOST /api/v1/auth/login- User loginPOST /api/v1/auth/refresh- Refresh tokenPOST /api/v1/auth/logout- User logoutGET /api/v1/auth/me- Get current user
Default Admin Account
- Username:
admin - Password:
admin123
Project Structure
backend/
├── cmd/server/ # Application entry point
├── internal/
│ ├── config/ # Configuration
│ ├── db/ # Database connection & migrations
│ ├── models/ # Data models
│ ├── repository/ # Data access layer
│ ├── services/ # Business logic
│ ├── handlers/ # HTTP handlers
│ ├── middleware/ # HTTP middleware
│ └── utils/ # Utilities
├── deployments/ # Docker & K8s configs
└── configs/ # Configuration files
Make Commands
make build- Build the binarymake run- Run the servermake test- Run testsmake fmt- Format codemake lint- Run lintermake docker-up- Start MySQL containermake migrate- Run database migrations