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
0165ba16
Unverified
Commit
0165ba16
authored
May 25, 2024
by
Daniel Hiltgen
Committed by
GitHub
May 25, 2024
Browse files
Merge pull request #4638 from dhiltgen/better_error
Report better warning on client closed abort of load
parents
6adca97f
c4209d6d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
llm/server.go
llm/server.go
+1
-1
No files found.
llm/server.go
View file @
0165ba16
...
...
@@ -528,7 +528,7 @@ func (s *llmServer) WaitUntilRunning(ctx context.Context) error {
for
{
select
{
case
<-
ctx
.
Done
()
:
slog
.
Info
(
"context expired before server starte
d"
)
slog
.
Warn
(
"client connection closed before server finished loading, aborting loa
d"
)
return
fmt
.
Errorf
(
"timed out waiting for llama runner to start: %w"
,
ctx
.
Err
())
case
err
:=
<-
s
.
done
:
msg
:=
""
...
...
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