Download src/types/config.ts from AZILS/gemini: direct link, hf CLI and curl.
- Browser
- Download file 907 Bytes
-
https://huggingface.co/spaces/AZILS/gemini/resolve/main/src/types/config.ts
- Command line
-
hf download hf://spaces/AZILS/gemini/src/types/config.ts
-
curl -L -o config.ts https://huggingface.co/spaces/AZILS/gemini/resolve/main/src/types/config.ts
907 Bytes
| export interface UpstreamProxyConfig { | |
| enabled: boolean; | |
| url: string; | |
| } | |
| export interface ProxyConfig { | |
| enabled: boolean; | |
| allow_lan_access?: boolean; | |
| port: number; | |
| api_key: string; | |
| auto_start: boolean; | |
| anthropic_mapping?: Record<string, string>; | |
| openai_mapping?: Record<string, string>; | |
| custom_mapping?: Record<string, string>; | |
| request_timeout: number; | |
| upstream_proxy: UpstreamProxyConfig; | |
| } | |
| export interface AppConfig { | |
| language: string; | |
| theme: string; | |
| auto_refresh: boolean; | |
| refresh_interval: number; | |
| auto_sync: boolean; | |
| sync_interval: number; | |
| default_export_path?: string; | |
| antigravity_executable?: string; // [NEW] 手动指定的反重力程序路径 | |
| auto_launch?: boolean; // 开机自动启动 | |
| accounts_page_size?: number; // 账号列表每页显示数量,默认 0 表示自动计算 | |
| proxy: ProxyConfig; | |
| } | |