[go: nahoru, domu]

Skip to content

Commit

Permalink
fix: Don't send max_tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
9876691 committed Dec 7, 2023
1 parent ecf6a2f commit 591f9cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/axum-server/src/ui_completions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ pub async fn handler(
let completion = Completion {
model: model.name,
stream: Some(true),
max_tokens: Some(prompt.max_tokens),
max_tokens: None,
temperature: prompt.temperature,
messages,
};
Expand Down

0 comments on commit 591f9cb

Please sign in to comment.