Skip to content

chore: remove unused _HAYSTACK_TO_PROVIDER_GENERATION_KWARGS - #12429

Merged
sjrl merged 2 commits into
mainfrom
remove-chat-generator-generation-kwarg-mapping
Aug 21, 2026
Merged

chore: remove unused _HAYSTACK_TO_PROVIDER_GENERATION_KWARGS#12429
sjrl merged 2 commits into
mainfrom
remove-chat-generator-generation-kwarg-mapping

Conversation

@sjrl

@sjrl sjrl commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Related Issues

  • fixes #issue-number

Proposed Changes:

Originally thought to be needed for the summarization compactor but the implementation was changed to not need it anymore. So removing it from main. No reno or breaking change since it was a private variable.

How did you test it?

Removed tests

Notes for the reviewer

Checklist

  • I have read the contributors guidelines and the code of conduct.
  • I have updated the related issue with new insights and changes.
  • I have added unit tests and updated the docstrings.
  • I've used one of the conventional commit types for my PR title: fix:, feat:, build:, chore:, ci:, docs:, style:, refactor:, perf:, test: and added ! in case the PR includes breaking changes.
  • I have documented my code.
  • I have added a release note file, following the contributors guidelines.
  • I have run pre-commit hooks and fixed any issue.

@sjrl
sjrl requested a review from a team as a code owner August 21, 2026 11:13
@sjrl
sjrl requested review from julian-risch and removed request for a team August 21, 2026 11:13
@vercel

vercel Bot commented Aug 21, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
haystack-docs Ignored Ignored Preview Aug 21, 2026 12:28pm

Request Review

@sjrl
sjrl requested review from anakin87 and removed request for julian-risch August 21, 2026 11:13
@sjrl sjrl self-assigned this Aug 21, 2026
@sjrl sjrl added the ignore-for-release-notes PRs with this flag won't be included in the release notes. label Aug 21, 2026
@github-actions

github-actions Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  haystack/components/generators/chat
  openai.py
  openai_responses.py
Project Total  

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

@anakin87

Copy link
Copy Markdown
Member

I see that #12328 also introduced changes haystack/components/generators/chat/utils.py + a test module.
What about removing them as well?

@sjrl

sjrl commented Aug 21, 2026

Copy link
Copy Markdown
Contributor Author

I see that #12328 also introduced changes haystack/components/generators/chat/utils.py + a test module. What about removing them as well?

good catch! will do

@github-actions github-actions Bot added the type:documentation Improvements on the docs label Aug 21, 2026
@sjrl

sjrl commented Aug 21, 2026

Copy link
Copy Markdown
Contributor Author

@anakin87 done in 4b6f975

@anakin87 anakin87 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@sjrl
sjrl enabled auto-merge (squash) August 21, 2026 12:37
@sjrl
sjrl merged commit b19866f into main Aug 21, 2026
24 checks passed
@sjrl
sjrl deleted the remove-chat-generator-generation-kwarg-mapping branch August 21, 2026 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ignore-for-release-notes PRs with this flag won't be included in the release notes. topic:tests type:documentation Improvements on the docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants