Fix VLLM command placeholder formatting

This commit is contained in:
2025-09-22 21:30:59 +02:00
parent 184d6df1bc
commit 6dcf0f806e

View File

@@ -84,7 +84,7 @@ const ParseCommandDialog: React.FC<ParseCommandDialogProps> = ({
const backendPlaceholders: Record<BackendTypeValue, string> = { const backendPlaceholders: Record<BackendTypeValue, string> = {
[BackendType.LLAMA_CPP]: "llama-server --model /path/to/model.gguf --gpu-layers 32 --ctx-size 4096", [BackendType.LLAMA_CPP]: "llama-server --model /path/to/model.gguf --gpu-layers 32 --ctx-size 4096",
[BackendType.MLX_LM]: "mlx_lm.server --model mlx-community/Mistral-7B-Instruct-v0.3-4bit --host 0.0.0.0 --port 8080", [BackendType.MLX_LM]: "mlx_lm.server --model mlx-community/Mistral-7B-Instruct-v0.3-4bit --host 0.0.0.0 --port 8080",
[BackendType.VLLM]: "vllm serve --model microsoft/DialoGPT-medium --tensor-parallel-size 2 --gpu-memory-utilization 0.9", [BackendType.VLLM]: "vllm serve microsoft/DialoGPT-medium --tensor-parallel-size 2 --gpu-memory-utilization 0.9",
}; };
const getPlaceholderForBackend = (backendType: BackendTypeValue): string => { const getPlaceholderForBackend = (backendType: BackendTypeValue): string => {