Skip to content

FIX: include extra_body_parameters in chat target identifiers - #3092

Open
Utkarsh Bahuguna (u7k4rs6) wants to merge 3 commits into
microsoft:mainfrom
u7k4rs6:fix/chat-extra-body-identity
Open

Utkarsh Bahuguna (u7k4rs6) wants to merge 3 commits into
microsoft:mainfrom
u7k4rs6:fix/chat-extra-body-identity

Conversation

@u7k4rs6

Copy link
Copy Markdown
Contributor

Fixes #3091.

Adds extra_body_parameters to the OpenAIChatTarget and LiteLLMChatTarget identifiers, matching what OpenAIResponseTarget already does. The audio config is merged into the extra body, so different voices get different identities too. Targets without an extra body get None, which the identifier drops, so their hashes don't change.

This doesn't touch the analytics/eval identity, since that only uses model, temperature and top_p.

Tests: different reasoning_effort and audio voices give different hashes for both targets, and no extra body leaves it out. They fail on main. tests/unit/prompt_target, backend, memory, score, models and registry: 11205 passed (the 4 MCP/tool files need httpx2, and the migration head test needs build_scripts, both missing locally and failing on main too).

@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

This branch has not been deployed

No deployments
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