mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
feat(types): add project field to GenericLiteLLMParams
OpenAI project scoping (OpenAI-Project / client project=) is currently dropped by the Batches and Files API paths. First step of plumbing it through: accept 'project' alongside 'organization' in the shared provider-params type, mirroring how organization is declared. Signed-off-by: rain <1504569896@qq.com>
This commit is contained in:
parent
115668f43e
commit
d6115679bc
1 changed files with 1 additions and 0 deletions
|
|
@ -393,6 +393,7 @@ class GenericLiteLLMParams(CredentialLiteLLMParams, CustomPricingLiteLLMParams):
|
|||
max_retries: int | None = None
|
||||
drop_params: bool | str | None = None
|
||||
organization: str | None = None # for openai orgs
|
||||
project: str | None = None # for openai projects
|
||||
configurable_clientside_auth_params: CONFIGURABLE_CLIENTSIDE_AUTH_PARAMS = None
|
||||
litellm_credential_name: str | None = None
|
||||
provider_affinity_header: str | None = None
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue