diff --git a/pkg/backends/mlx/mlx.go b/pkg/backends/mlx/mlx.go index 06f3128..c3324d2 100644 --- a/pkg/backends/mlx/mlx.go +++ b/pkg/backends/mlx/mlx.go @@ -11,7 +11,6 @@ type MlxServerOptions struct { Model string `json:"model,omitempty"` Host string `json:"host,omitempty"` Port int `json:"port,omitempty"` - PythonPath string `json:"python_path,omitempty"` // Custom: Python venv path // Model and adapter options AdapterPath string `json:"adapter_path,omitempty"` @@ -59,7 +58,7 @@ func (o *MlxServerOptions) UnmarshalJSON(data []byte) error { "m": "model", "host": "host", "port": "port", - "python_path": "python_path", +// "python_path": "python_path", // removed // Model and adapter options "adapter-path": "adapter_path", @@ -145,9 +144,7 @@ func NewMlxServerOptions() *MlxServerOptions { // BuildCommandArgs converts to command line arguments func (o *MlxServerOptions) BuildCommandArgs() []string { var args []string - - // Note: PythonPath is handled in lifecycle.go execution logic - + // Required and basic options if o.Model != "" { args = append(args, "--model", o.Model) diff --git a/pkg/config/config.go b/pkg/config/config.go index 3c476d5..28087db 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -71,9 +71,6 @@ type InstancesConfig struct { // Enable LRU eviction for instance logs EnableLRUEviction bool `yaml:"enable_lru_eviction"` - // Path to llama-server executable - LlamaExecutable string `yaml:"llama_executable"` - // Default auto-restart setting for new instances DefaultAutoRestart bool `yaml:"default_auto_restart"` @@ -135,7 +132,6 @@ func LoadConfig(configPath string) (AppConfig, error) { MaxInstances: -1, // -1 means unlimited MaxRunningInstances: -1, // -1 means unlimited EnableLRUEviction: true, - LlamaExecutable: "llama-server", DefaultAutoRestart: true, DefaultMaxRestarts: 3, DefaultRestartDelay: 5, diff --git a/webui/src/lib/zodFormUtils.ts b/webui/src/lib/zodFormUtils.ts index ee1d6a1..7bde5a9 100644 --- a/webui/src/lib/zodFormUtils.ts +++ b/webui/src/lib/zodFormUtils.ts @@ -90,11 +90,6 @@ const basicMlxFieldsConfig: Record