Skip to content

Commit 8917b18

Browse files
fix: mark plugins as loaded even if no tool_modules
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
1 parent 65151ee commit 8917b18

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gptme/plugins/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,8 @@ def get_plugin_tool_modules(
269269
continue
270270

271271
# Track newly loaded plugins
272-
if plugin.tool_modules and _mark_plugin_loaded(plugin):
272+
# Track newly loaded plugins
273+
if _mark_plugin_loaded(plugin):
273274
newly_loaded.append(plugin.name)
274275

275276
# Add plugin's tool modules

0 commit comments

Comments
 (0)