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
aed54587
Unverified
Commit
aed54587
authored
May 03, 2024
by
Michael Yang
Committed by
GitHub
May 03, 2024
Browse files
Merge pull request #4143 from ollama/mxyng/final-response
omit prompt and generate settings from final response
parents
52663284
44869c59
Changes
1
Show 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 @
aed54587
...
@@ -1186,8 +1186,6 @@ struct llama_server_context
...
@@ -1186,8 +1186,6 @@ struct llama_server_context
{
"model"
,
params
.
model_alias
},
{
"model"
,
params
.
model_alias
},
{
"tokens_predicted"
,
slot
.
n_decoded
},
{
"tokens_predicted"
,
slot
.
n_decoded
},
{
"tokens_evaluated"
,
slot
.
n_prompt_tokens
},
{
"tokens_evaluated"
,
slot
.
n_prompt_tokens
},
{
"generation_settings"
,
get_formated_generation
(
slot
)},
{
"prompt"
,
slot
.
prompt
},
{
"truncated"
,
slot
.
truncated
},
{
"truncated"
,
slot
.
truncated
},
{
"stopped_eos"
,
slot
.
stopped_eos
},
{
"stopped_eos"
,
slot
.
stopped_eos
},
{
"stopped_word"
,
slot
.
stopped_word
},
{
"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