test(anthropic): scope structured output captures to inference routes (#50983)

Co-authored-by: mateo <277851410+mateo-berri@users.noreply.github.com>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
devin-ai-integration[bot] 2026-11-10 18:53:04 +00:00 • committed by GitHub
parent 906578df39
commit 59a3e75368
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -605,6 +605,7 @@ def _delivered(wire: Wire) -> tuple[_Delivery, ...]:
return tuple(
_Delivery(request.target, request.headers.get("anthropic-beta"), _JSON_OBJECT.validate_json(request.body))
for request in wire.drain()
if _scripted_target(request)
)