style(deepseek): use PEP 585 builtins in downgrade signature

Satisfy the ruff strict-rule budget gate (UP006): use list/tuple instead
of typing.List/Tuple in the new _downgrade_json_schema_to_json_object
signature, which had pushed the repo's UP006 total over its ceiling.
This commit is contained in:
Daniel Yudelevich 2026-06-26 12:12:26 -07:00
parent 8bff334e1b
commit 6e0077693a

View file

@ -139,9 +139,9 @@ class DeepSeekChatConfig(OpenAIGPTConfig):
def _downgrade_json_schema_to_json_object(
self,
model: str,
messages: List[AllMessageValues],
messages: list[AllMessageValues],
optional_params: dict,
) -> Tuple[List[AllMessageValues], dict]:
) -> tuple[list[AllMessageValues], dict]:
"""
DeepSeek's /chat/completions rejects `response_format={"type": "json_schema"}`
with "This response_format type is unavailable now" — no DeepSeek model