Skip to content

Commit 3d3e7f5

Browse files
committed
chore: fix linting and typing issues
1 parent 324f6ca commit 3d3e7f5

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/askui/chat/api/runs/runner/runner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ async def async_on_message(
150150

151151
on_message = syncify(async_on_message)
152152

153-
mcp_client = await self._mcp_client_manager_manager.get_mcp_client_manager( # type: ignore
153+
mcp_client = await self._mcp_client_manager_manager.get_mcp_client_manager(
154154
self._workspace_id
155155
)
156156

@@ -159,7 +159,7 @@ def _run_agent_inner() -> None:
159159
mcp_client=mcp_client,
160160
include=set(self._assistant.tools),
161161
)
162-
# TODO Remove this after having extracted tools into Android MCP
162+
# Remove this after having extracted tools into Android MCP
163163
if self._run.assistant_id == ANDROID_AGENT.id:
164164
tools.append_tool(*_get_android_tools())
165165
custom_agent = CustomAgent()

src/askui/models/shared/tools.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import json
12
import types
23
from abc import ABC, abstractmethod
34
from datetime import timedelta
@@ -154,7 +155,7 @@ async def __aexit__(
154155

155156
def _replace_refs(tool_name: str, input_schema: InputSchema) -> InputSchema:
156157
try:
157-
return jsonref.replace_refs(
158+
return jsonref.replace_refs( # type: ignore[no-any-return]
158159
input_schema,
159160
lazy_load=False,
160161
proxies=False,

0 commit comments

Comments
 (0)