refactor(types): remove quoted annotations under postponed evaluation

This commit is contained in:
youhuanghe
2026-03-24 05:07:14 +00:00
committed by WangCham
parent 2911220054
commit 3f368c5764
5 changed files with 14 additions and 14 deletions
+2 -2
View File
@@ -30,9 +30,9 @@ class ToolLoader(abc.ABC):
name: str = None
ap: 'app.Application'
ap: app.Application
def __init__(self, ap: 'app.Application'):
def __init__(self, ap: app.Application):
self.ap = ap
async def initialize(self):
+2 -2
View File
@@ -18,13 +18,13 @@ importutil.import_modules_in_pkg(loaders)
class ToolManager:
"""LLM工具管理器"""
ap: 'app.Application'
ap: app.Application
native_tool_loader: native_loader.NativeToolLoader
plugin_tool_loader: plugin_loader.PluginToolLoader
mcp_tool_loader: mcp_loader.MCPLoader
def __init__(self, ap: 'app.Application'):
def __init__(self, ap: app.Application):
self.ap = ap
async def initialize(self):