mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-05 19:11:52 +00:00
fix: typo error fix (#1228)
This commit is contained in:
@@ -31,7 +31,7 @@ def async_db_summary(system_app: SystemApp):
|
||||
|
||||
|
||||
def server_init(param: "WebServerParameters", system_app: SystemApp):
|
||||
from dbgpt.agent.plugin.commands.command_mange import CommandRegistry
|
||||
from dbgpt.agent.plugin.commands.command_manage import CommandRegistry
|
||||
|
||||
# logger.info(f"args: {args}")
|
||||
# init config
|
||||
@@ -58,15 +58,15 @@ def server_init(param: "WebServerParameters", system_app: SystemApp):
|
||||
|
||||
cfg.command_registry = command_registry
|
||||
|
||||
command_disply_commands = [
|
||||
"dbgpt.agent.plugin.commands.built_in.disply_type.show_chart_gen",
|
||||
"dbgpt.agent.plugin.commands.built_in.disply_type.show_table_gen",
|
||||
"dbgpt.agent.plugin.commands.built_in.disply_type.show_text_gen",
|
||||
command_dispaly_commands = [
|
||||
"dbgpt.agent.plugin.commands.built_in.display_type.show_chart_gen",
|
||||
"dbgpt.agent.plugin.commands.built_in.display_type.show_table_gen",
|
||||
"dbgpt.agent.plugin.commands.built_in.display_type.show_text_gen",
|
||||
]
|
||||
command_disply_registry = CommandRegistry()
|
||||
for command in command_disply_commands:
|
||||
command_disply_registry.import_commands(command)
|
||||
cfg.command_disply = command_disply_registry
|
||||
command_dispaly_registry = CommandRegistry()
|
||||
for command in command_dispaly_commands:
|
||||
command_dispaly_registry.import_commands(command)
|
||||
cfg.command_display = command_dispaly_commands
|
||||
|
||||
|
||||
def _create_model_start_listener(system_app: SystemApp):
|
||||
|
Reference in New Issue
Block a user