We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5207d8 commit 0984895Copy full SHA for 0984895
astrbot/core/star/context.py
@@ -494,7 +494,7 @@ def add_llm_tools(self, *tools: FunctionTool) -> None:
494
_parts.append(part)
495
if part in flags and i + 1 < len(module_part):
496
_parts.append(module_part[i + 1])
497
- module_part.append("main")
+ _parts.append("main")
498
break
499
tool.handler_module_path = ".".join(_parts)
500
module_path = tool.handler_module_path
0 commit comments