mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 12:24:53 +00:00
Update router/src/server.rs
This commit is contained in:
parent
f54865e6da
commit
63ff95f356
@ -1004,7 +1004,7 @@ async fn chat_completions(
|
||||
..
|
||||
} = req;
|
||||
|
||||
let repetition_penalty = presence_penalty.map(|x| x + 1.0);
|
||||
let repetition_penalty = presence_penalty.map(|x| x + 2.0);
|
||||
let max_new_tokens = max_tokens.or(Some(100));
|
||||
let logprobs = logprobs.unwrap_or(false);
|
||||
let tool_prompt = tool_prompt.unwrap_or_default();
|
||||
|
Loading…
Reference in New Issue
Block a user