Skip to content

docs(config): note litellm-sdk embeddings API key is optional for ambient credentials#1747

Merged
nicoloboschi merged 2 commits into
vectorize-io:mainfrom
r266-tech:docs-litellm-sdk-embeddings-optional-key-1744
May 27, 2026
Merged

docs(config): note litellm-sdk embeddings API key is optional for ambient credentials#1747
nicoloboschi merged 2 commits into
vectorize-io:mainfrom
r266-tech:docs-litellm-sdk-embeddings-optional-key-1744

Conversation

@r266-tech
Copy link
Copy Markdown
Contributor

@r266-tech r266-tech commented May 25, 2026

#1744 made HINDSIGHT_API_EMBEDDINGS_LITELLM_SDK_API_KEY optional — it's now only forwarded when set, so litellm-sdk embeddings work with ambient credentials (e.g. AWS Bedrock via IAM roles / ECS task role), matching the LLM-side bedrock behavior. Previously create_embeddings_from_env() raised ValueError if the key was unset.

The config table row still read like the key was always needed. This updates the description (docs + skills reference mirror) to note it's optional for ambient-credential providers, consistent with the existing HINDSIGHT_API_EMBEDDINGS_LITELLM_API_KEY "(optional, …)" row and the docstring added in #1744.

If this has already been covered elsewhere, feel free to close.

@nicoloboschi nicoloboschi merged commit 488f428 into vectorize-io:main May 27, 2026
56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants