mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-11-01 04:47:03 +08:00
fix(agent): keep mypy ratchet green
This commit is contained in:
@@ -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,
|
||||
):
|
||||
|
||||
@@ -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
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user