mirror of
https://github.com/ollama/ollama.git
synced 2025-05-11 18:36:41 +02:00
rfc: dynamic environ lookup
This commit is contained in:
parent
5784c05397
commit
35b89b2eab
7 changed files with 29 additions and 26 deletions
|
@ -611,7 +611,7 @@ func LoadOneapiMgmt(oneapiLibPaths []string) (int, *C.oneapi_handle_t, string) {
|
|||
}
|
||||
|
||||
func getVerboseState() C.uint16_t {
|
||||
if envconfig.Debug {
|
||||
if envconfig.Debug() {
|
||||
return C.uint16_t(1)
|
||||
}
|
||||
return C.uint16_t(0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue