mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-10-08 02:27:14 +00:00
feat: Optimize code import time
This commit is contained in:
@@ -7,7 +7,6 @@ from typing import Dict
|
||||
from pilot.commands.exception_not_commands import NotCommands
|
||||
from pilot.configs.config import Config
|
||||
from pilot.prompts.generator import PluginPromptGenerator
|
||||
from pilot.speech import say_text
|
||||
|
||||
|
||||
def _resolve_pathlike_command_args(command_args):
|
||||
@@ -37,6 +36,8 @@ def execute_ai_response_json(
|
||||
Returns:
|
||||
|
||||
"""
|
||||
from pilot.speech.say import say_text
|
||||
|
||||
cfg = Config()
|
||||
|
||||
command_name, arguments = get_command(ai_response)
|
||||
|
Reference in New Issue
Block a user