Skip to content

FIX: include extra_body_parameters in chat target identifiers - #3092

Merged
Richard Lundeen (richlundeen) merged 5 commits into
microsoft:mainfrom
u7k4rs6:fix/chat-extra-body-identity
Oct 12, 2026
Merged

Richard Lundeen (richlundeen) merged 5 commits into
microsoft:mainfrom
u7k4rs6:fix/chat-extra-body-identity

Conversation

@u7k4rs6

@u7k4rs6 Utkarsh Bahuguna (u7k4rs6) commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

OpenAIChatTarget and LiteLLMChatTarget left extra_body_parameters out of their identifiers, so targets with different reasoning_effort or audio voices shared a hash. They're included now, same as OpenAIResponseTarget already did. Targets without an extra body keep their hashes, and the analytics identity isn't touched. The new tests fail on main.

Fixes #3091

@richlundeen
Richard Lundeen (richlundeen) added this pull request to the merge queue Oct 11, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 11, 2026
@u7k4rs6

Copy link
Copy Markdown
Contributor Author

The one red job is a flaky timeout in test_scoring_expectation_transport.py::test_attack_error_persists_after_cancelled_score_validation_async (macos 3.11 dev_all), unrelated to this change. It passes locally every time. Mind re-running it?

@richlundeen
Richard Lundeen (richlundeen) added this pull request to the merge queue Oct 12, 2026
Merged via the queue into microsoft:main with commit b1f1d53 Oct 12, 2026
55 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: chat target identifiers ignore extra_body_parameters

2 participants