[Mypy] Fix typing for M models (#54262)

Signed-off-by: Taneem Ibrahim <taneem.ibrahim@gmail.com>
This commit is contained in:
Taneem Ibrahim
2026-09-01 11:26:00 -04:00
committed by GitHub
parent d9eb4e344f
commit 76f3249fbd
26 changed files with 512 additions and 200 deletions
+4 -4
View File
@@ -17,10 +17,10 @@ class MultiModelKeys:
@staticmethod
def from_string_field(
language_model: str | list[str] = None,
connector: str | list[str] = None,
tower_model: str | list[str] = None,
generator: str | list[str] = None,
language_model: str | list[str] | None = None,
connector: str | list[str] | None = None,
tower_model: str | list[str] | None = None,
generator: str | list[str] | None = None,
**kwargs,
) -> "MultiModelKeys":
def to_list(value):