SIGN IN SIGN UP

fix(azure): accept include in provider_options for Responses API models (#990)

* fix(azure): accept include in provider_options for Responses API models

The Azure Responses formatter delegates to the OpenAI Responses encoder,
which already honours `provider_options[:include]` (reasoning signatures,
web_search_call.action.sources, ...). The Azure provider schema never
listed the key, though, and the streaming path validates provider_options
strictly against that schema before the body is built, so any request
that set `include` failed with "unknown options [:include]". The OpenAI
provider has carried the same entry for a while; this adds it to Azure.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J64Gz8aNb6uv6PEfpwgyNr

* Apply suggestion from @vasspilka

---------

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
V
Vasilis Spilka committed
fde191f3773faf937ebdad12e2b166f9f8e4447d
Parent: eeaee93
Committed by GitHub <noreply@github.com> on 9/5/2026, 1:50:27 PM