Gpts app v0.4 (#1170)

This commit is contained in:
明天
2024-02-20 14:28:58 +08:00
committed by GitHub
parent 63ab612e75
commit c78bd22fda
18 changed files with 65 additions and 63 deletions

View File

@@ -40,7 +40,7 @@ class ChatAgent(BaseChat):
# load select plugin
agent_module = CFG.SYSTEM_APP.get_component(
ComponentType.AGENT_HUB, ModulePlugin
ComponentType.PLUGIN_HUB, ModulePlugin
)
self.plugins_prompt_generator = agent_module.load_select_plugin(
self.plugins_prompt_generator, self.select_plugins