mirror of
https://github.com/lordmathis/llamactl.git
synced 2025-11-06 09:04:27 +00:00
Add vLLM backend support to webui
This commit is contained in:
@@ -101,6 +101,14 @@ export const backendsApi = {
|
||||
body: JSON.stringify({ command }),
|
||||
}),
|
||||
},
|
||||
vllm: {
|
||||
// POST /backends/vllm/parse-command
|
||||
parseCommand: (command: string) =>
|
||||
apiCall<CreateInstanceOptions>('/backends/vllm/parse-command', {
|
||||
method: 'POST',
|
||||
body: JSON.stringify({ command }),
|
||||
}),
|
||||
},
|
||||
};
|
||||
|
||||
// Instance API functions
|
||||
|
||||
Reference in New Issue
Block a user