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
44869c59
Commit
44869c59
authored
May 03, 2024
by
Michael Yang
Browse files
omit prompt and generate settings from final response
parent
52663284
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
llm/ext_server/server.cpp
llm/ext_server/server.cpp
+0
-2
No files found.
llm/ext_server/server.cpp
View file @
44869c59
...
...
@@ -1186,8 +1186,6 @@ struct llama_server_context
{
"model"
,
params
.
model_alias
},
{
"tokens_predicted"
,
slot
.
n_decoded
},
{
"tokens_evaluated"
,
slot
.
n_prompt_tokens
},
{
"generation_settings"
,
get_formated_generation
(
slot
)},
{
"prompt"
,
slot
.
prompt
},
{
"truncated"
,
slot
.
truncated
},
{
"stopped_eos"
,
slot
.
stopped_eos
},
{
"stopped_word"
,
slot
.
stopped_word
},
...
...
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