forked from Amm1rr/WebAI-to-API
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.conf.example
More file actions
executable file
·70 lines (62 loc) · 2.23 KB
/
config.conf.example
File metadata and controls
executable file
·70 lines (62 loc) · 2.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# Configuration File for WebAI-to-API Server
# -------------------------------------------
# ⚠️ Note: This file is *only* used by the WebAI-to-API server.
# It is NOT intended for use with gpt4free providers.
# --- Browser Settings ---
# Set the browser that will be used for any required operations.
# Only modify this section in most use cases.
# Supported options: chrome, firefox, brave, edge, safari
[Browser]
name = chrome
# Specify the browser profile name if you have multiple accounts/profiles.
# Windows paths relate to "User Data" folder names.
# Common values: Default, Profile 1, Profile 2, etc.
# Check browser settings (e.g., chrome://version) to find your current "Profile Path".
profile = Default
# Specify the account index when multiple Google accounts are logged in.
# 0: Primary account (/u/0/), 1: First secondary account (/u/1/), etc.
account_index = 0
# --- AI Provider Settings ---
# Select the default AI service.
# Currently supported: gemini
[AI]
default_ai = gemini
# --- Gemini Model Configuration ---
# Choose the model to be used when Gemini is selected as the AI.
# Available models:
# - gemini-1.5-flash
# - gemini-2.0-flash
# - gemini-2.0-flash-thinking
# - gemini-2.0-flash-thinking-with-apps
# - gemini-2.5-pro
# - gemini-2.5-flash
# - gemini-3.0-pro
default_model_gemini = gemini-3.0-pro
# --- Authentication Settings ---
# Secure your API by setting an API key.
# If 'api_key' is set, all requests must include the header:
# Authorization: Bearer <your_api_key>
# If left empty, authentication is disabled (open access).
[Auth]
api_key =
# --- Gemini Cookies ---
# Provide your authentication cookies for Gemini here.
# You can either paste them manually or log in via browser to generate them.
[Cookies]
gemini_cookie_1psid =
gemini_cookie_1psidts =
# --- AI Services Toggle ---
# Enable or disable specific AI providers.
# Use "true" to enable and "false" to disable.
[EnabledAI]
gemini = true
# --- Proxy Configuration ---
# The app, use this proxy to connect gemini servers.
# Its usefull to fix errors like 403 or restricted connections
# Example: http_proxy = http://127.0.0.1:2334
[Proxy]
http_proxy =
# --- Logging Configuration ---
# Enable verbose debug logging and payload capture when set to true.
[Logging]
debug = false