Merge pull request #1590 from hypn4/main

feat: add `extra_body`field and use in model settings.
This commit is contained in:
paul-gauthier 2024-09-24 13:16:38 -07:00 committed by GitHub
commit 0adb7e0fd3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 9 additions and 1 deletions

View file

@ -1399,6 +1399,7 @@ class Coder:
self.stream,
temp,
extra_headers=model.extra_headers,
extra_body=model.extra_body,
max_tokens=model.max_tokens,
)
self.chat_completion_call_hashes.append(hash_object.hexdigest())