mirror of
https://github.com/BerriAI/litellm.git
synced 2025-12-06 11:33:26 +08:00
fix: support documented params (#14969)
This commit is contained in:
@@ -251,12 +251,54 @@ const PROVIDER_CREDENTIAL_FIELDS: Record<Providers, ProviderCredentialField[]> =
|
|||||||
required: false,
|
required: false,
|
||||||
tooltip: "You can provide the raw key or the environment variable (e.g. `os.environ/MY_SECRET_KEY`)."
|
tooltip: "You can provide the raw key or the environment variable (e.g. `os.environ/MY_SECRET_KEY`)."
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
key: "aws_session_token",
|
||||||
|
label: "AWS Session Token",
|
||||||
|
type: "password",
|
||||||
|
required: false,
|
||||||
|
tooltip: "Temporary credentials session token. You can provide the raw token or the environment variable (e.g. `os.environ/MY_SESSION_TOKEN`)."
|
||||||
|
},
|
||||||
{
|
{
|
||||||
key: "aws_region_name",
|
key: "aws_region_name",
|
||||||
label: "AWS Region Name",
|
label: "AWS Region Name",
|
||||||
placeholder: "us-east-1",
|
placeholder: "us-east-1",
|
||||||
required: false,
|
required: false,
|
||||||
tooltip: "You can provide the raw key or the environment variable (e.g. `os.environ/MY_SECRET_KEY`)."
|
tooltip: "You can provide the raw key or the environment variable (e.g. `os.environ/MY_SECRET_KEY`)."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "aws_session_name",
|
||||||
|
label: "AWS Session Name",
|
||||||
|
placeholder: "my-session",
|
||||||
|
required: false,
|
||||||
|
tooltip: "Name for the AWS session. You can provide the raw value or the environment variable (e.g. `os.environ/MY_SESSION_NAME`)."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "aws_profile_name",
|
||||||
|
label: "AWS Profile Name",
|
||||||
|
placeholder: "default",
|
||||||
|
required: false,
|
||||||
|
tooltip: "AWS profile name to use for authentication. You can provide the raw value or the environment variable (e.g. `os.environ/MY_PROFILE_NAME`)."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "aws_role_name",
|
||||||
|
label: "AWS Role Name",
|
||||||
|
placeholder: "MyRole",
|
||||||
|
required: false,
|
||||||
|
tooltip: "AWS IAM role name to assume. You can provide the raw value or the environment variable (e.g. `os.environ/MY_ROLE_NAME`)."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "aws_web_identity_token",
|
||||||
|
label: "AWS Web Identity Token",
|
||||||
|
type: "password",
|
||||||
|
required: false,
|
||||||
|
tooltip: "Web identity token for OIDC authentication. You can provide the raw token or the environment variable (e.g. `os.environ/MY_WEB_IDENTITY_TOKEN`)."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "aws_bedrock_runtime_endpoint",
|
||||||
|
label: "AWS Bedrock Runtime Endpoint",
|
||||||
|
placeholder: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
||||||
|
required: false,
|
||||||
|
tooltip: "Custom Bedrock runtime endpoint URL. You can provide the raw value or the environment variable (e.g. `os.environ/MY_BEDROCK_ENDPOINT`)."
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
[Providers.SageMaker]: [
|
[Providers.SageMaker]: [
|
||||||
|
|||||||
Reference in New Issue
Block a user