mirror of
https://github.com/lordmathis/llamactl.git
synced 2025-11-05 16:44:22 +00:00
Update GetProxy method to use BackendTypeLlamaCpp constant for backend type
This commit is contained in:
@@ -152,7 +152,7 @@ func (i *Process) GetProxy() (*httputil.ReverseProxy, error) {
|
||||
var host string
|
||||
var port int
|
||||
switch i.options.BackendType {
|
||||
case "llama-cpp":
|
||||
case backends.BackendTypeLlamaCpp:
|
||||
host = i.options.LlamaServerOptions.Host
|
||||
port = i.options.LlamaServerOptions.Port
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user