mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-22 00:31:44 +00:00
fix(cloudflare): accept litellm_params in rerank validate_environment
This commit is contained in:
parent
81f34605d8
commit
880e4a43ac
1 changed files with 1 additions and 0 deletions
|
|
@ -118,6 +118,7 @@ class CloudflareRerankConfig(BaseRerankConfig):
|
|||
model: str,
|
||||
api_key: str | None = None,
|
||||
optional_params: Mapping[str, object] | None = None,
|
||||
litellm_params: Mapping[str, object] | None = None,
|
||||
) -> Mapping[str, object]:
|
||||
api_key = api_key or get_secret_str("CLOUDFLARE_API_KEY")
|
||||
if api_key is None:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue