🚀 Auto-deploy: BotVPS atualizado em 14/05/2026 10:11:13
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import os
|
||||
from dotenv import load_dotenv
|
||||
import sys
|
||||
|
||||
# Add current dir to path to import local modules
|
||||
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
|
||||
|
||||
from llm_providers import get_api_key
|
||||
|
||||
load_dotenv()
|
||||
key = get_api_key("minimax")
|
||||
print(f"MINIMAX_API_KEY found: {bool(key)}")
|
||||
if key:
|
||||
print(f"Key starts with: {key[:4]}...")
|
||||
else:
|
||||
print("Key is empty!")
|
||||
|
||||
print(f"Direct os.getenv('MINIMAX_API_KEY'): {bool(os.getenv('MINIMAX_API_KEY'))}")
|
||||
Reference in New Issue
Block a user