Skip to content

Commit f982145

Browse files
author
cinjospeh
committed
fix format problem
1 parent e920421 commit f982145

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dbgpt/agent/expand/tool_assistant_agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def desc(self) -> Optional[str]:
8181
)
8282

8383

84-
def _get_tools_by_resource(resource: Resource) -> List[BaseTool]:
84+
def _get_tools_by_resource(resource: Optional[Resource]) -> Optional[List[BaseTool]]:
8585
tools: List[BaseTool] = []
8686

8787
if resource is None:

0 commit comments

Comments
 (0)