forked from liuw1535/antigravity2api-nodejs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.json.example
More file actions
70 lines (70 loc) · 2.42 KB
/
config.json.example
File metadata and controls
70 lines (70 loc) · 2.42 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
{
"server": {
"port": 8045,
"host": "0.0.0.0",
"maxRequestSize": "500mb",
"heartbeatInterval": 15000,
"memoryThreshold": 50
},
"rotation": {
"strategy": "round_robin",
"requestCount": 50
},
"log": {
"maxSizeMB": 10,
"maxFiles": 5,
"maxMemory": 500
},
"api": {
"use": "production",
"version": "1.19.5",
"unleash": {
"register": "https://antigravity-unleash.goog/api/client/register",
"features": "https://antigravity-unleash.goog/api/client/features",
"frontend": "https://antigravity-unleash.goog/api/frontend"
},
"sandbox": {
"url": "https://daily-cloudcode-pa.sandbox.googleapis.com/v1internal:streamGenerateContent?alt=sse",
"modelsUrl": "https://daily-cloudcode-pa.sandbox.googleapis.com/v1internal:fetchAvailableModels",
"noStreamUrl": "https://daily-cloudcode-pa.sandbox.googleapis.com/v1internal:generateContent",
"host": "daily-cloudcode-pa.sandbox.googleapis.com",
"recordTrajectory": "https://daily-cloudcode-pa.sandbox.googleapis.com/v1internal:recordTrajectoryAnalytics",
"recordCodeAssistMetrics": "https://daily-cloudcode-pa.sandbox.googleapis.com/v1internal:recordCodeAssistMetrics"
},
"production": {
"url": "https://daily-cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse",
"modelsUrl": "https://daily-cloudcode-pa.googleapis.com/v1internal:fetchAvailableModels",
"noStreamUrl": "https://daily-cloudcode-pa.googleapis.com/v1internal:generateContent",
"host": "daily-cloudcode-pa.googleapis.com",
"recordTrajectory": "https://daily-cloudcode-pa.googleapis.com/v1internal:recordTrajectoryAnalytics",
"recordCodeAssistMetrics": "https://daily-cloudcode-pa.googleapis.com/v1internal:recordCodeAssistMetrics"
}
},
"defaults": {
"temperature": 1,
"topP": 1,
"topK": 50,
"maxTokens": 32000,
"thinkingBudget": 16000
},
"cache": {
"modelListTTL": 3600000
},
"other": {
"timeout": 300000,
"retryTimes": 10,
"forceIPv4": false,
"skipProjectIdFetch": false,
"useNativeAxios": false,
"useContextSystemPrompt": false,
"officialPromptPosition": "before",
"mergeSystemPrompt": false,
"passSignatureToClient": false,
"useFallbackSignature": false,
"cacheAllSignatures": false,
"cacheToolSignatures": true,
"cacheImageSignatures": true,
"cacheThinking": true,
"fakeNonStream": true
}
}