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

@ -74,6 +74,7 @@ class ModelSettings:
reminder: str = "user"
examples_as_sys_msg: bool = False
extra_headers: Optional[dict] = None
extra_body: Optional[dict] = None
max_tokens: Optional[int] = None
cache_control: bool = False
caches_by_default: bool = False