Skip to content

Commit

Permalink
docs(pii_masking.md): fix presidio tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
krrishdholakia committed Feb 13, 2024
1 parent d95eb6c commit f09c09a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/my-website/docs/proxy/pii_masking.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export PRESIDIO_ANONYMIZER_API_BASE="http:https://localhost:5001"

```yaml
litellm_settings:
litellm.callbacks = ["presidio"]
callbacks = ["presidio", ...] # e.g. ["presidio", custom_callbacks.proxy_handler_instance]
```

## Start proxy
Expand Down
2 changes: 1 addition & 1 deletion litellm/llms/sagemaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ def embedding(
aws_access_key_id = optional_params.pop("aws_access_key_id", None)
aws_region_name = optional_params.pop("aws_region_name", None)

if aws_access_key_id != None:
if aws_access_key_id is not None:
# uses auth params passed to completion
# aws_access_key_id is not None, assume user is trying to auth using litellm.completion
client = boto3.client(
Expand Down

0 comments on commit f09c09a

Please sign in to comment.