docs(config): sync hints with current config schema

This commit is contained in:
2026-04-21 12:40:45 +00:00
parent 9f7308498c
commit 3e341bbfda
+12 -3
View File
@@ -111,12 +111,20 @@ interface IModelGridConfig {
port: number; // Default: 8080
host: string; // Default: '0.0.0.0'
apiKeys: string[]; // Valid API keys
rateLimit?: number;
cors: boolean;
corsOrigins: string[];
};
ui: {
enabled: boolean;
port: number; // Default: 8081
host: string; // Default: '0.0.0.0'
assetSource: 'bundle' | 'disk';
};
docker: {
networkName: string; // Default: 'modelgrid'
runtime: 'docker' | 'podman';
socketPath?: string;
};
gpus: {
autoDetect: boolean;
@@ -124,11 +132,12 @@ interface IModelGridConfig {
};
containers: IContainerConfig[];
models: {
greenlistUrl: string;
autoPull: boolean;
defaultContainer: string;
registryUrl: string;
autoDeploy: boolean;
defaultEngine: 'vllm';
autoLoad: string[];
};
cluster: IClusterConfig;
checkInterval: number;
}
```