litellm/tests/test_litellm/llms/bedrock
devin-ai-integration[bot] 4a00468f38 fix(bedrock): stream /v1/messages Invoke bytes through instead of holding them in a 1024-byte chunker (#42607)
* fix(bedrock): stream /v1/messages Invoke bytes through instead of holding them in a 1024-byte chunker

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* style(bedrock): apply ruff format to invoke messages stream passthrough

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* style(bedrock): drop drive-by reformat of existing invoke messages tests

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* test(bedrock): collect streamed chunks into a tuple in passthrough regression test

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* test(bedrock): give the passthrough regression test a 10s first-chunk budget

* test(bedrock): type the eventstream frame helper's payload as Mapping[str, object]

* test(bedrock): take the gated byte stream's chunks as an immutable Sequence

---------

Co-authored-by: mateo <mateo@berri.ai>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: mateo-berri <277851410+mateo-berri@users.noreply.github.com>
(cherry picked from commit 975bd28549)
2026-09-22 20:03:14 -07:00
..
batches test(bedrock): drop redundant recorder docstring 2026-09-19 00:43:51 +00:00
chat Merge pull request #41870 from BerriAI/litellm_bedrock_openai_gpt_min_max_tokens 2026-09-18 17:44:18 -07:00
count_tokens test(bedrock): type the probe credential overrides 2026-09-09 16:14:00 -07:00
embed Merge remote-tracking branch 'origin/litellm_internal_staging' into litellm_bedrock_aws_session_tags 2026-09-10 09:42:22 -07:00
files Merge pull request #41138 from BerriAI/litellm_bedrock_files_s3_endpoint_url 2026-09-18 15:04:01 -07:00
image fix(bedrock): skip the SigV4 credential chain when a bearer token is configured 2026-09-02 14:28:40 -07:00
image_edit test: keep the pinning-test removal free of unrelated reformatting 2026-09-18 04:27:28 +00:00
invoke_agent test: drop the cwd-relative sys.path.insert calls from the test suite (#37802) 2026-08-22 09:25:58 -07:00
messages/invoke_transformations fix(bedrock): stream /v1/messages Invoke bytes through instead of holding them in a 1024-byte chunker (#42607) 2026-09-22 20:03:14 -07:00
passthrough fix(passthrough): parse Bedrock stream spend incrementally instead of buffering the whole response (#40724) 2026-09-11 09:53:37 -07:00
realtime fix(bedrock): merge main and thread aws_session_tags through the auth struct 2026-09-18 10:41:52 -07:00
rerank Merge branch 'litellm_internal_staging' of https://github.com/BerriAI/litellm into litellm_lit5458_rerank_sigv4_bearer_fix 2026-08-25 16:03:38 -07:00
search test: unwind environment writes in tests/test_litellm with monkeypatch (#37806) 2026-08-21 20:28:37 -07:00
vector_stores test(bedrock): type the vector store search test helper 2026-09-16 12:55:29 -07:00
__init__.py test(batches): add 1:1 test file scaffold for batches component paths (#30529) 2026-06-29 09:22:58 +05:30
event_loop_probe.py refactor: keep the AWS JSON signing helper under llms and bound the probe's refresh wait 2026-09-08 16:20:50 -07:00
test_anthropic_beta_support.py fix(bedrock): allowlist Bedrock Invoke body fields and filter all anthropic-beta values 2026-04-21 11:26:15 -07:00
test_base_aws_llm.py test(bedrock): type the STS recording helper 2026-09-18 11:42:52 -07:00
test_bedrock_common_utils.py test: restore synthetic behavior tests dropped as catalog pins 2026-09-18 05:00:04 +00:00
test_bedrock_ssl_verify.py test: drop the cwd-relative sys.path.insert calls from the test suite (#37802) 2026-08-22 09:25:58 -07:00
test_claude_platform_provider.py Litellm OSS Staging 010626 (#29422) 2026-06-01 21:42:51 -07:00
test_converse_context_management.py feat(context_management): compact_20260112 polyfill for non-Anthropic providers (#28868) 2026-05-30 09:20:05 -07:00
test_cross_region_inference_profile_mapping.py test: delete assertions that pin vendor cost map facts 2026-09-18 00:28:49 +00:00
test_mantle.py fix(bedrock): drop the OpenAI base suffix from BEDROCK_MANTLE_API_BASE before the mantle messages path 2026-09-02 11:51:27 -07:00
test_nova_imported_models.py test: run the 30 test files stranded in the second mirror (#37595) 2026-08-20 10:59:43 -07:00
test_request_metadata.py test: drop the cwd-relative sys.path.insert calls from the test suite (#37802) 2026-08-22 09:25:58 -07:00
test_web_identity_session_policy.py fix(bedrock): grant the AgentCore for-user invoke action in the web identity session policy 2026-09-14 21:31:45 -07:00