fix:kunlun deepseek
This commit is contained in:
@@ -9,6 +9,7 @@ class LLMService:
|
||||
if tools is None:
|
||||
tools = []
|
||||
self.api_key = os.getenv("OPENAI_API_KEY")
|
||||
# self.api_key = "sk-lbGrsUPL1iby86h554FaE536C343435dAa9bA65967A840B2"
|
||||
if not self.api_key:
|
||||
raise ValueError("API key not found. Please set the OPENAI_API_KEY environment variable.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user