add use cases: tool_use_with_plugin, and how to write a plugin.

This commit is contained in:
xuyuan23
2023-06-14 17:24:31 +08:00
parent 44df4f2509
commit 621a859be0
6 changed files with 182 additions and 4 deletions

View File

@@ -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