Documentation ¶
Index ¶
Constants ¶
View Source
const ( UIPlSettingName = "ui-pl" UISourceSettingName = "ui-source" DefaultNotebookImagesSettingName = "default-notebook-images" DefaultRayClusterImage = "default-ray-cluster-image" DefaultRayLLMImage = "default-ray-llm-image" FirstLoginSettingName = "first-login" )
Variables ¶
View Source
var ( InjectDefaults string APIUIVersion = NewSetting("api-ui-version", "1.1.10") // Please update the ONEBLOCK_API_UI_VERSION in Dockerfile when updating the version here. AuthSecretName = NewSetting("auth-secret-name", "oneblock-key-holder") AuthTokenMaxTTLMinutes = NewSetting("auth-token-max-ttl-minutes", "720") FirstLogin = NewSetting(FirstLoginSettingName, "true") ServerURL = NewSetting("server-url", "") ServerVersion = NewSetting("server-version", "dev") UIIndex = NewSetting("ui-index", "https://releases.1block.ai/dashboard/latest/index.html") UIPath = NewSetting("ui-path", "/usr/share/oneblock-ai/oneblock") UIPl = NewSetting(UIPlSettingName, "oneblock") UISource = NewSetting(UISourceSettingName, "auto") // Options are 'auto', 'external' or 'bundled' RayClusterImage = NewSetting(DefaultRayClusterImage, "anyscale/ray:2.9.3") RayLLMImage = NewSetting(DefaultRayLLMImage, "anyscale/ray-llm:0.5.0") NotebookDefaultImages = NewSetting(DefaultNotebookImagesSettingName, setDefaultNotebookImages()) )
Functions ¶
func SetProvider ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.