mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 03:34:10 +00:00
(feat) cloudflare - add optional params
This commit is contained in:
parent
efdb20ff99
commit
c69f4f17a5
2 changed files with 12 additions and 0 deletions
|
@ -23,10 +23,12 @@ class CloudflareError(Exception):
|
|||
|
||||
class CloudflareConfig:
|
||||
max_tokens: Optional[int] = None
|
||||
stream: Optional[bool] = None
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
max_tokens: Optional[int] = None,
|
||||
stream: Optional[bool] = None,
|
||||
) -> None:
|
||||
locals_ = locals()
|
||||
for key, value in locals_.items():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue