Pass temperature to Anthropic (#17509)

Release Notes:

- N/A

---------

Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
This commit is contained in:
maan2003 2024-09-11 03:39:00 +05:30 committed by GitHub
parent b16af138e2
commit d6663fcb29
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 15 deletions

View file

@ -399,7 +399,7 @@ impl LanguageModelRequest {
tool_choice: None,
metadata: None,
stop_sequences: Vec::new(),
temperature: None,
temperature: Some(self.temperature),
top_k: None,
top_p: None,
}