opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentati.../tests/cassettes
Riccardo Magliocchetti 3d37106115
botocore: handle tool calls with Amazon nova with Bedrock InvokeModel* APIs (#3385)
* 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
2025-03-31 08:53:15 +00:00
..
test_converse_no_content.yaml botocore: add bedrock genai user events and lazy initialize tracers and event loggers (#3258) 2025-02-13 10:08:24 +01:00
test_converse_no_content_different_events.yaml botocore: handle system messages events (#3266) 2025-02-14 10:17:08 +00:00
test_converse_stream_handles_event_stream_error.yaml Render strings in bedrock test cassettes for readability (#3243) 2025-02-06 10:06:05 +01:00
test_converse_stream_no_content.yaml botocore: add bedrock genai user events and lazy initialize tracers and event loggers (#3258) 2025-02-13 10:08:24 +01:00
test_converse_stream_no_content_different_events.yaml botocore: handle system messages events (#3266) 2025-02-14 10:17:08 +00:00
test_converse_stream_no_content_tool_call.yaml botocore: send tool events for bedrock (#3302) 2025-02-28 08:51:33 +00:00
test_converse_stream_with_content.yaml Render strings in bedrock test cassettes for readability (#3243) 2025-02-06 10:06:05 +01:00
test_converse_stream_with_content_different_events.yaml botocore: handle system messages events (#3266) 2025-02-14 10:17:08 +00:00
test_converse_stream_with_content_tool_call.yaml botocore: send tool events for bedrock (#3302) 2025-02-28 08:51:33 +00:00
test_converse_stream_with_invalid_model.yaml Render strings in bedrock test cassettes for readability (#3243) 2025-02-06 10:06:05 +01:00
test_converse_tool_call_no_content.yaml botocore: send tool events for bedrock (#3302) 2025-02-28 08:51:33 +00:00
test_converse_tool_call_with_content.yaml botocore: send tool events for bedrock (#3302) 2025-02-28 08:51:33 +00:00
test_converse_with_content.yaml Render strings in bedrock test cassettes for readability (#3243) 2025-02-06 10:06:05 +01:00
test_converse_with_content_different_events.yaml botocore: handle system messages events (#3266) 2025-02-14 10:17:08 +00:00
test_converse_with_invalid_model.yaml Render strings in bedrock test cassettes for readability (#3243) 2025-02-06 10:06:05 +01:00
test_invoke_model_no_content[amazon.nova].yaml botocore: add bedrock genai user events and lazy initialize tracers and event loggers (#3258) 2025-02-13 10:08:24 +01:00
test_invoke_model_no_content[amazon.titan].yaml botocore: add bedrock genai user events and lazy initialize tracers and event loggers (#3258) 2025-02-13 10:08:24 +01:00
test_invoke_model_no_content[anthropic.claude].yaml botocore: add bedrock genai user events and lazy initialize tracers and event loggers (#3258) 2025-02-13 10:08:24 +01:00
test_invoke_model_no_content_different_events[amazon.nova].yaml botocore: handle system messages events (#3266) 2025-02-14 10:17:08 +00:00
test_invoke_model_no_content_different_events[anthropic.claude].yaml botocore: handle system messages events (#3266) 2025-02-14 10:17:08 +00:00
test_invoke_model_no_content_tool_call[amazon.nova].yaml botocore: handle tool calls with Amazon nova with Bedrock InvokeModel* APIs (#3385) 2025-03-31 08:53:15 +00:00
test_invoke_model_no_content_tool_call[anthropic.claude].yaml botocore: handle tool calls with Amazon nova with Bedrock InvokeModel* APIs (#3385) 2025-03-31 08:53:15 +00:00
test_invoke_model_with_content[amazon.nova].yaml Render strings in bedrock test cassettes for readability (#3243) 2025-02-06 10:06:05 +01:00
test_invoke_model_with_content[amazon.titan].yaml Render strings in bedrock test cassettes for readability (#3243) 2025-02-06 10:06:05 +01:00
test_invoke_model_with_content[anthropic.claude].yaml Render strings in bedrock test cassettes for readability (#3243) 2025-02-06 10:06:05 +01:00
test_invoke_model_with_content_different_events[amazon.nova].yaml botocore: handle system messages events (#3266) 2025-02-14 10:17:08 +00:00
test_invoke_model_with_content_different_events[anthropic.claude].yaml botocore: handle system messages events (#3266) 2025-02-14 10:17:08 +00:00
test_invoke_model_with_content_tool_call[amazon.nova].yaml botocore: handle tool calls with Amazon nova with Bedrock InvokeModel* APIs (#3385) 2025-03-31 08:53:15 +00:00
test_invoke_model_with_content_tool_call[anthropic.claude].yaml botocore: handle tool calls with Amazon nova with Bedrock InvokeModel* APIs (#3385) 2025-03-31 08:53:15 +00:00
test_invoke_model_with_content_user_content_as_string.yaml botocore: don't crash when sending content as string with InvokeModel (#3342) 2025-03-06 09:50:10 +00:00
test_invoke_model_with_invalid_model.yaml Render strings in bedrock test cassettes for readability (#3243) 2025-02-06 10:06:05 +01:00
test_invoke_model_with_response_stream_handles_stream_error.yaml Render strings in bedrock test cassettes for readability (#3243) 2025-02-06 10:06:05 +01:00
test_invoke_model_with_response_stream_invalid_model.yaml Render strings in bedrock test cassettes for readability (#3243) 2025-02-06 10:06:05 +01:00
test_invoke_model_with_response_stream_no_content[amazon.nova].yaml botocore: handle system messages events (#3266) 2025-02-14 10:17:08 +00:00
test_invoke_model_with_response_stream_no_content[amazon.titan].yaml botocore: handle system messages events (#3266) 2025-02-14 10:17:08 +00:00
test_invoke_model_with_response_stream_no_content[anthropic.claude].yaml botocore: handle system messages events (#3266) 2025-02-14 10:17:08 +00:00
test_invoke_model_with_response_stream_no_content_different_events[amazon.nova].yaml botocore: handle system messages events (#3266) 2025-02-14 10:17:08 +00:00
test_invoke_model_with_response_stream_no_content_different_events[anthropic.claude].yaml botocore: handle system messages events (#3266) 2025-02-14 10:17:08 +00:00
test_invoke_model_with_response_stream_no_content_tool_call[amazon.nova].yaml botocore: handle tool calls with Amazon nova with Bedrock InvokeModel* APIs (#3385) 2025-03-31 08:53:15 +00:00
test_invoke_model_with_response_stream_no_content_tool_call[anthropic.claude].yaml botocore: handle tool calls with Amazon nova with Bedrock InvokeModel* APIs (#3385) 2025-03-31 08:53:15 +00:00
test_invoke_model_with_response_stream_with_content[amazon.nova].yaml Render strings in bedrock test cassettes for readability (#3243) 2025-02-06 10:06:05 +01:00
test_invoke_model_with_response_stream_with_content[amazon.titan].yaml Render strings in bedrock test cassettes for readability (#3243) 2025-02-06 10:06:05 +01:00
test_invoke_model_with_response_stream_with_content[anthropic.claude].yaml Render strings in bedrock test cassettes for readability (#3243) 2025-02-06 10:06:05 +01:00
test_invoke_model_with_response_stream_with_content_different_events[amazon.nova].yaml botocore: handle system messages events (#3266) 2025-02-14 10:17:08 +00:00
test_invoke_model_with_response_stream_with_content_different_events[anthropic.claude].yaml botocore: handle system messages events (#3266) 2025-02-14 10:17:08 +00:00
test_invoke_model_with_response_stream_with_content_tool_call[amazon.nova].yaml botocore: handle tool calls with Amazon nova with Bedrock InvokeModel* APIs (#3385) 2025-03-31 08:53:15 +00:00
test_invoke_model_with_response_stream_with_content_tool_call[anthropic.claude].yaml botocore: handle tool calls with Amazon nova with Bedrock InvokeModel* APIs (#3385) 2025-03-31 08:53:15 +00:00