Spaces:
Running
Running
Amlan-109
feat: Initial commit of LocalAI Amlan Edition with premium branding and personalization
750bbe6 Download core/cli/context/context.go from Zyan11/LocalAI-Amlan-Edition: direct link, hf CLI and curl.
- Browser
- Download file 456 Bytes
-
https://huggingface.co/spaces/Zyan11/LocalAI-Amlan-Edition/resolve/main/core/cli/context/context.go
- Command line
-
hf download hf://spaces/Zyan11/LocalAI-Amlan-Edition/core/cli/context/context.go
-
curl -L -o context.go https://huggingface.co/spaces/Zyan11/LocalAI-Amlan-Edition/resolve/main/core/cli/context/context.go
456 Bytes
| package cliContext | |
| type Context struct { | |
| Debug bool `env:"LOCALAI_DEBUG,DEBUG" default:"false" hidden:"" help:"DEPRECATED, use --log-level=debug instead. Enable debug logging"` | |
| LogLevel *string `env:"LOCALAI_LOG_LEVEL" enum:"error,warn,info,debug,trace" help:"Set the level of logs to output [${enum}]"` | |
| LogFormat *string `env:"LOCALAI_LOG_FORMAT" default:"default" enum:"default,text,json" help:"Set the format of logs to output [${enum}]"` | |
| } | |