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
f7231ad9
Unverified
Commit
f7231ad9
authored
Feb 13, 2024
by
Jeffrey Morgan
Committed by
GitHub
Feb 13, 2024
Browse files
set `shutting_down` to `false` once shutdown is complete (#2484)
parent
6920964b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
llm/ext_server/ext_server.cpp
llm/ext_server/ext_server.cpp
+1
-0
No files found.
llm/ext_server/ext_server.cpp
View file @
f7231ad9
...
@@ -183,6 +183,7 @@ void llama_server_stop() {
...
@@ -183,6 +183,7 @@ void llama_server_stop() {
delete
llama
;
delete
llama
;
llama
=
NULL
;
llama
=
NULL
;
LOG_TEE
(
"llama server shutdown complete
\n
"
);
LOG_TEE
(
"llama server shutdown complete
\n
"
);
shutting_down
=
false
;
}
}
void
llama_server_completion
(
const
char
*
json_req
,
ext_server_resp_t
*
resp
)
{
void
llama_server_completion
(
const
char
*
json_req
,
ext_server_resp_t
*
resp
)
{
...
...
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