mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-30 01:08:33 +00:00
AmazonMoonshotConfig.transform_request called _get_boto_credentials_from_optional_params purely for its side effect of popping the aws_* keys off optional_params, then threw the result away. On a box whose default AWS profile uses login_session without botocore[crt], that call raises, so a bearer-token bedrock/invoke/moonshot.* deployment still 500s with MissingDependencyException even after the rest of this branch skips the chain. It now filters the aws_* keys into a local dict the way the Qwen, OpenAI and Claude 3 invoke transformations already do, so no credentials are resolved and the caller's optional_params keeps the keys sign_request reads afterwards. |
||
|---|---|---|
| .. | ||
| agentcore | ||
| invoke_transformations | ||
| test_bedrock_converse_handler.py | ||
| test_converse_transformation.py | ||
| test_converse_transformation_nova_2.py | ||
| test_invoke_handler.py | ||
| test_mistral_config.py | ||
| test_service_tier.py | ||
| test_streaming_choice_index.py | ||
| test_writer_palmyra.py | ||