diff --git a/pkg/llm/drivers/llm_container/openclaw.go b/pkg/llm/drivers/llm_container/openclaw.go index ff722297f1..00450f4b46 100644 --- a/pkg/llm/drivers/llm_container/openclaw.go +++ b/pkg/llm/drivers/llm_container/openclaw.go @@ -356,6 +356,11 @@ func (c *openclaw) GetContainerSpecs(ctx context.Context, llm *models.SLLM, imag {Key: "HOMEBREW_PREFIX", Value: "/home/linuxbrew/.linuxbrew"}, {Key: "HOMEBREW_CELLAR", Value: "/home/linuxbrew/.linuxbrew/Cellar"}, {Key: "HOMEBREW_REPOSITORY", Value: "/home/linuxbrew/.linuxbrew/Homebrew"}, + // Selkies env + {Key: "SELKIES_UI_TITLE", Value: "Cloudpods Desktop"}, + {Key: "SELKIES_UI_SHOW_LOGO", Value: "False"}, + {Key: "SELKIES_UI_SIDEBAR_SHOW_APPS", Value: "False"}, + {Key: "SELKIES_UI_SIDEBAR_SHOW_GAMEPADS", Value: "False"}, }, }, VolumeMounts: openclawVols, diff --git a/pkg/llm/models/llm.go b/pkg/llm/models/llm.go index c605b4375d..b39d47cdb2 100644 --- a/pkg/llm/models/llm.go +++ b/pkg/llm/models/llm.go @@ -597,7 +597,14 @@ func (llm *SLLM) ValidateRestartInput(ctx context.Context, userCred mcclient.Tok return nil, errors.Wrapf(errors.ErrInvalidStatus, "invalid llm status %s", llm.Status) } - return &api.LLMRestartTaskInput{}, nil + sku, err := llm.GetLLMSku(llm.LLMSkuId) + if err != nil { + return nil, errors.Wrap(err, "GetLLMSku") + } + + return &api.LLMRestartTaskInput{ + ImageId: sku.GetLLMImageId(), + }, nil } func (llm *SLLM) PerformRestart(ctx context.Context, userCred mcclient.TokenCredential, query jsonutils.JSONObject, input *api.LLMRestartInput) (jsonutils.JSONObject, error) { diff --git a/scripts/sync_llm_images.sh b/scripts/sync_llm_images.sh index 3981f5b233..032a055d99 100644 --- a/scripts/sync_llm_images.sh +++ b/scripts/sync_llm_images.sh @@ -36,7 +36,7 @@ IMAGES=( # "coollabsio/openclaw-browser:latest" # ghcr.io/coollabsio/openclaw-base:latest # lscr.io/linuxserver/webtop:ubuntu-xfce - registry.cn-beijing.aliyuncs.com/zexi/openclaw:ubu-20260309.4 + registry.cn-beijing.aliyuncs.com/zexi/openclaw:v2026.3.12-20260326.2 ) for image in "${IMAGES[@]}"; do