This commit is contained in:
Muzhen Gaming
2025-10-15 18:30:10 +08:00
parent 30200bf3bc
commit 47ce092d59

View File

@@ -21,8 +21,8 @@ class Settings:
request_timeout_s: int = 60 request_timeout_s: int = 60
# Configurable API base and key. If left empty, env vars are used. # Configurable API base and key. If left empty, env vars are used.
# Typical base: https://api.openai.com/v1 # Typical base: https://api.openai.com/v1
endpoint_base: str = os.environ.get("OPENAI_BASE_URL", "https://api.openai.com/v1") endpoint_base: str = "https://api.muzhen.org/v1"
api_key: str = os.environ.get("OPENAI_API_KEY", os.environ.get("BG_AGENT_OPENAI_API_KEY", "")) api_key: str = "falconfang"
# Typing and clipboard behavior # Typing and clipboard behavior
type_interval_s: float = 0.015 type_interval_s: float = 0.015