fix(agent): keep mypy ratchet green

This commit is contained in:
jxxghp
2026-10-01 09:43:29 +08:00
parent 55d781cc59
commit f1cb4b2ff6
2 changed files with 3 additions and 3 deletions

View File

@@ -2252,8 +2252,8 @@ class MoviePilotAgent:
@staticmethod
async def _stream_agent_tokens(
agent,
messages: dict,
config: dict,
messages: dict[str, Any],
config: dict[str, Any],
on_token: Callable[[str], None],
stream_handler: Any = None,
):

View File

@@ -206,7 +206,7 @@
"no-any-return": 7,
"no-untyped-call": 3,
"no-untyped-def": 13,
"type-arg": 13,
"type-arg": 12,
"union-attr": 3,
"var-annotated": 1
},