refactor(api)!: remove the standalone API server (#6614)
This commit is contained in:
1 parent
5c72ced2fe
commit
220d5e6970
99 files changed
+240
-4133
No files matched your search
@@ -40,7 +40,7 @@ class RuntimeImportBlocker(importlib.abc.MetaPathFinder):
|
||||
if fullname in config_modules:
|
||||
return None
|
||||
forbidden = (
|
||||
'nanobot.agent', 'nanobot.api', 'nanobot.apps', 'nanobot.channels',
|
||||
'nanobot.agent', 'nanobot.apps', 'nanobot.channels',
|
||||
'nanobot.cli', 'nanobot.session', 'nanobot.webui', 'nanobot.providers.base',
|
||||
)
|
||||
if any(fullname == name or fullname.startswith(name + '.') for name in forbidden):
|
||||
|
||||
Reference in new issue
Block a user