Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
0c68ec8d
Unverified
Commit
0c68ec8d
authored
Oct 11, 2025
by
frob
Committed by
GitHub
Oct 11, 2025
Browse files
discover: fix typo (#12565)
parent
70d9e363
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
discover/runner.go
discover/runner.go
+1
-1
No files found.
discover/runner.go
View file @
0c68ec8d
...
@@ -408,7 +408,7 @@ func (r *bootstrapRunner) HasExited() bool {
...
@@ -408,7 +408,7 @@ func (r *bootstrapRunner) HasExited() bool {
func
bootstrapDevices
(
ctx
context
.
Context
,
ollamaLibDirs
[]
string
,
extraEnvs
[]
string
)
[]
ml
.
DeviceInfo
{
func
bootstrapDevices
(
ctx
context
.
Context
,
ollamaLibDirs
[]
string
,
extraEnvs
[]
string
)
[]
ml
.
DeviceInfo
{
// TODO DRY out with llm/server.go
// TODO DRY out with llm/server.go
slog
.
Debug
(
"spawing runner with"
,
"OLLAMA_LIBRARY_PATH"
,
ollamaLibDirs
,
"extra_envs"
,
extraEnvs
)
slog
.
Debug
(
"spaw
n
ing runner with"
,
"OLLAMA_LIBRARY_PATH"
,
ollamaLibDirs
,
"extra_envs"
,
extraEnvs
)
start
:=
time
.
Now
()
start
:=
time
.
Now
()
defer
func
()
{
defer
func
()
{
slog
.
Debug
(
"bootstrap discovery took"
,
"duration"
,
time
.
Since
(
start
),
"OLLAMA_LIBRARY_PATH"
,
ollamaLibDirs
,
"extra_envs"
,
extraEnvs
)
slog
.
Debug
(
"bootstrap discovery took"
,
"duration"
,
time
.
Since
(
start
),
"OLLAMA_LIBRARY_PATH"
,
ollamaLibDirs
,
"extra_envs"
,
extraEnvs
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment