[BugFix]: Fix local mypy issues (#34739)

Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
Co-authored-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
Martin Hickey
2026-02-23 00:40:29 -08:00
committed by GitHub
co-authored by Harry Mellor
parent 7291d1b288
commit e97c46a92d
6 changed files with 12 additions and 6 deletions
@@ -337,7 +337,9 @@ class ResponsesRequest(OpenAIBaseModel):
and response_format.schema_ is not None
):
structured_outputs = StructuredOutputsParams(
json=response_format.schema_
json=response_format.schema_ # type: ignore[call-arg]
# --follow-imports skip hides the class definition but also hides
# multiple third party conflicts, so best of both evils
)
stop = self.stop if self.stop else []