Forward attachment provider options to Anthropic text generation requests
Merged
SU
3d ago+97+97+01234567890123456789-1-1-0123456789
withProviderOptions() on an attachment reaches the content part on OpenAI since #768 but the Anthropic gateway never reads it
so there's no way to set cache_control citations or context on a document or image
this mirrors #768 and merges the options under the mapped block so they can't overwrite type or source
checked live on claude-sonnet-5-5 with a ~16k token text document
with cache_control two calls in a row wrote and read 0 cache tokens before this change
after it the first call wrote 15691 and the second read 15691
with citations enabled on the same document the response now has a char_location citation for the exact sentence it quoted where before it had none