Skip to content

fix: deserialization of flattened system_cachepoint_config in AmazonBedrockChatGenerator#3548

Open
tstadel wants to merge 1 commit into
mainfrom
fix/bedrock_system_cachepoint_flattened_deserialization
Open

fix: deserialization of flattened system_cachepoint_config in AmazonBedrockChatGenerator#3548
tstadel wants to merge 1 commit into
mainfrom
fix/bedrock_system_cachepoint_flattened_deserialization

Conversation

@tstadel

@tstadel tstadel commented Jul 4, 2026

Copy link
Copy Markdown
Member

Related Issues

  • fixes system_cachepoint_config_ttl being deserialized as root level init param, not as generation_kwarg

Proposed Changes:

expect

init_parameters:
  model: global.anthropic.claude-sonnet-4-6
  system_cachepoint_config_ttl: 1h

instead of

init_parameters:
  model: global.anthropic.claude-sonnet-4-6
  generation_kwargs:
    system_cachepoint_config_ttl: 1h

How did you test it?

Notes for the reviewer

Checklist

@tstadel tstadel requested a review from a team as a code owner July 4, 2026 11:25
@tstadel tstadel requested review from julian-risch and removed request for a team July 4, 2026 11:25
@github-actions

github-actions Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Coverage report (amazon_bedrock)

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  integrations/amazon_bedrock/src/haystack_integrations/components/generators/amazon_bedrock/chat
  chat_generator.py
Project Total  

This report was generated by python-coverage-comment-action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant