-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml
More file actions
38 lines (32 loc) · 1015 Bytes
/
config.yaml
File metadata and controls
38 lines (32 loc) · 1015 Bytes
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
# Configuration file for gemini-cli-proxy
# This file contains settings for the proxy worker
# API Configuration
api:
base_url: "https://generativelanguage.googleapis.com"
timeout: 30000
# Authentication
auth:
enabled: true
credential_sources:
- env_vars
- oauth_creds_dir
# OAuth Credentials Directory
oauth_creds:
directory: "./oauth creds"
file_pattern: "*.json"
# Logging
logging:
level: "info"
enabled: true
# Load Balancing
load_balancing:
enabled: true
primary_balancer: "primary-load-balancer"
fallback_rotator: "fallback-rotator"
# AI Studio Configuration
ai_studio:
enabled: true # Master toggle for AI Studio keys
keys_file: "./oauth creds/ai_studio_keys.txt" # Auto-detects ai_studio_keys.txt or keys.txt (can also be .json file)
cooldown_seconds: 300 # 5 minutes default
fallback_mode: "fallback" # options: fallback (priority), combined (shared pool), disabled
prefer_ai_studio_for_pro: false # Prefer AI Studio for Pro models when CLI is rate limited