docs(config): sync hints with current config schema
This commit is contained in:
+12
-3
@@ -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;
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user