mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-14 21:51:25 +00:00
add use cases: tool_use_with_plugin, and how to write a plugin.
This commit is contained in:
@@ -10,6 +10,7 @@ if "pytest" in sys.argv or "pytest" in sys.modules or os.getenv("CI"):
|
||||
|
||||
# Load the users .env file into environment variables
|
||||
load_dotenv(verbose=True, override=True)
|
||||
load_dotenv(".plugin_env")
|
||||
ROOT_PATH = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
||||
load_dotenv(os.path.join(ROOT_PATH, ".plugin_env"))
|
||||
|
||||
del load_dotenv
|
||||
|
Reference in New Issue
Block a user