优化代码,提高解耦
This commit is contained in:
@@ -1,10 +1,3 @@
|
||||
import os
|
||||
from dotenv import load_dotenv
|
||||
|
||||
load_dotenv()
|
||||
api_key = os.getenv("OPENAI_API_KEY")
|
||||
|
||||
|
||||
from langchain_core.tools import tool
|
||||
|
||||
@tool
|
||||
|
||||
Reference in New Issue
Block a user