mirror of
https://github.com/j93es/browser-use-oauth.git
synced 2026-06-04 07:31:51 +09:00
- Removed old llm_login and session scripts, replacing them with a new structure for handling SSO login and session management. - Introduced a new prompt system for collecting SSO redirect URLs, ensuring compliance with security protocols. - Implemented a robust backend notification system for tracking scan initiation. - Enhanced browser profile configuration and resource management for improved session handling. - Added utility functions for environment variable checks and logging. - Updated the overall architecture to improve maintainability and readability.
8 lines
No EOL
356 B
Python
8 lines
No EOL
356 B
Python
import os
|
|
from dotenv import load_dotenv
|
|
load_dotenv(verbose=True, override=True)
|
|
|
|
BACKEND_URL = os.getenv("BACKEND_URL", "http://localhost:11081")
|
|
GOOGLE_API_KEY = os.getenv("GOOGLE_API_KEY")
|
|
GOOGLE_MODEL = os.getenv("GOOGLE_MODEL", "gemini-2.5-flash-preview-05-20")
|
|
GOOGLE_PLANNER_MODEL = os.getenv("GOOGLE_PLANNER_MODEL", "gemini-2.5-pro-preview-06-05") |