from pathlib import Path
import os


# Define your API keys and configurations
# OPENAI_API_KEY = "sk-QQq3pi7xjy24YuY207Cc9fD9Af51479fA2B584058a7593Fa"
OPENAI_API_KEY = "sk-urFGAQRThR6pysea0aC93bD27fA34bA69811A9254aAaD8B2"
# OPENAI_API_KEY = "sk-FTmEt110USDrY7py99Af4a3eAbF6432f97Aa1103Ba9cCdE8"
OPENAI_BASE_URL = "http://8.218.238.241:17935/v1"
# OPENAI_BASE_URL = "https://pro.aiskt.com/v1"

MODEL = "gpt-4o"
# MODEL = "gpt-4o-2024-08-06"
# config_list = [{"model": MODEL, "api_key": OPENAI_API_KEY, "base_url": OPENAI_BASE_URL, "temperature": 0}]
config_list = [{"model": MODEL, "api_key": OPENAI_API_KEY, "base_url": OPENAI_BASE_URL}]

SILENT = True # 关闭嵌套智能体的输出
STREAM = True # stream on console
CACHE = None # None 就是关闭 41是默认值开启

current_path = os.path.dirname(os.path.abspath(__file__))
WORK_DIR = Path(current_path, ".coding")
WORK_DIR.mkdir(exist_ok=True)

