* botocore: test invokemodel tool calls against amazon nova * botocore: handle amazon nova tool calls events for InvokeModelWithResponseStream * Update documentation * Update Changelog * Please pylint * Cleanup * Reduce branches in tool calls tests Instead pass down a per-model object that implements the peculiar part. And fix recording of amazon.nova stream no content test. * Move stream content extraction for tool calls tests to a couple of helpers |
||
|---|---|---|
| .. | ||
| cassettes | ||
| README.md | ||
| __init__.py | ||
| bedrock_utils.py | ||
| conftest.py | ||
| test_botocore_bedrock.py | ||
| test_botocore_dynamodb.py | ||
| test_botocore_instrumentation.py | ||
| test_botocore_lambda.py | ||
| test_botocore_messaging.py | ||
| test_botocore_sns.py | ||
| test_botocore_sqs.py | ||
README.md
Recording calls
If you need to record calls you may need to export authentication variables and the default region as environment variables in order to have the code work properly. Since tox blocks environment variables by default you need to override its configuration to let them pass:
export TOX_OVERRIDE=testenv.pass_env=AWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY,AWS_SESSION_TOKEN,AWS_DEFAULT_REGION
We are not adding it to tox.ini because of security concerns.