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:
rain 2026-09-26 23:31:42 +08:00
parent 115668f43e
commit d6115679bc

View file

@ -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