updates
This commit is contained in:
@@ -19,6 +19,10 @@ class Settings:
|
||||
)
|
||||
retries: int = 3
|
||||
request_timeout_s: int = 60
|
||||
# Configurable API base and key. If left empty, env vars are used.
|
||||
# Typical base: https://api.openai.com/v1
|
||||
endpoint_base: str = os.environ.get("OPENAI_BASE_URL", "https://api.openai.com/v1")
|
||||
api_key: str = os.environ.get("OPENAI_API_KEY", os.environ.get("BG_AGENT_OPENAI_API_KEY", ""))
|
||||
|
||||
# Typing and clipboard behavior
|
||||
type_interval_s: float = 0.015
|
||||
|
||||
Reference in New Issue
Block a user