Log errors when a prediction fails (#22961)
Release Notes: - N/A --------- Co-authored-by: Thorsten <thorsten@zed.dev>
This commit is contained in:
parent
9e113bccd0
commit
c3301077af
4 changed files with 18 additions and 12 deletions
|
@ -477,7 +477,7 @@ async fn predict_edits(
|
|||
open_ai::CompletionRequest {
|
||||
model: model.to_string(),
|
||||
prompt: prompt.clone(),
|
||||
max_tokens: 1024,
|
||||
max_tokens: 2048,
|
||||
temperature: 0.,
|
||||
prediction: Some(open_ai::Prediction::Content {
|
||||
content: params.input_excerpt,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue