style: clear the ruff reds lts/1.108.x already has

Drops a second ScriptedBedrockInvoke class (F811) whose wider first definition already covers it, and a repeated supports_bedrock_native_structured_output key (F601) with the same value, both from merging two earlier backports. No behavior change.
This commit is contained in:
mateo-berri 2026-11-06 14:23:12 -08:00
parent 3c1e9d83d4
commit cb05200a5a
2 changed files with 0 additions and 12 deletions

View file

@ -4171,17 +4171,6 @@ _THINKING_HISTORY: Final = (
)
@dataclass(slots=True)
class ScriptedBedrockInvoke:
replies: tuple[tuple[int, Mapping[str, object]], ...]
bodies: tuple[dict[str, object], ...] = ()
def __call__(self, request: httpx.Request) -> httpx.Response:
self.bodies = (*self.bodies, REASONING_BODY_ADAPTER.validate_json(request.content))
status_code, body = self.replies[len(self.bodies) - 1]
return httpx.Response(status_code, json=body)
async def _send_bedrock_messages(
model: str,
model_info: Mapping[str, object] | None,

View file

@ -1288,7 +1288,6 @@ def test_aaamodel_prices_and_context_window_json_is_valid():
"supports_native_streaming": {"type": "boolean"},
"supports_image_size": {"type": "boolean"},
"supports_native_structured_output": {"type": "boolean"},
"supports_bedrock_native_structured_output": {"type": "boolean"},
"use_openai_responses_path": {"type": "boolean"},
"off_peak_pricing": {
"type": "object",