bibibi12345 commited on
Commit
ba2538c
·
1 Parent(s): 9d20a75

changed default model url address

Browse files
Files changed (2) hide show
  1. app/config.py +1 -1
  2. vertexModels.json +19 -0
app/config.py CHANGED
@@ -28,6 +28,6 @@ FAKE_STREAMING_ENABLED = os.environ.get("FAKE_STREAMING", "false").lower() == "t
28
  FAKE_STREAMING_INTERVAL_SECONDS = float(os.environ.get("FAKE_STREAMING_INTERVAL", "1.0"))
29
 
30
  # URL for the remote JSON file containing model lists
31
- MODELS_CONFIG_URL = os.environ.get("MODELS_CONFIG_URL", "https://gist.githubusercontent.com/gzzhongqi/e0b684f319437a859bcf5bd6203fd1f6/raw")
32
 
33
  # Validation logic moved to app/auth.py
 
28
  FAKE_STREAMING_INTERVAL_SECONDS = float(os.environ.get("FAKE_STREAMING_INTERVAL", "1.0"))
29
 
30
  # URL for the remote JSON file containing model lists
31
+ MODELS_CONFIG_URL = os.environ.get("MODELS_CONFIG_URL", "https://raw.githubusercontent.com/gzzhongqi/vertex2openai/refs/heads/main/vertexModels.json")
32
 
33
  # Validation logic moved to app/auth.py
vertexModels.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "vertex_models": [
3
+ "gemini-2.5-pro-exp-03-25",
4
+ "gemini-2.5-pro-preview-03-25",
5
+ "gemini-2.5-pro-preview-05-06",
6
+ "gemini-2.5-flash-preview-05-20",
7
+ "gemini-2.5-flash-preview-04-17",
8
+ "gemini-2.0-flash-001",
9
+ "gemini-2.0-flash-lite-001"
10
+ ],
11
+ "vertex_express_models": [
12
+ "gemini-2.0-flash-001",
13
+ "gemini-2.0-flash-lite-001",
14
+ "gemini-2.5-pro-preview-03-25",
15
+ "gemini-2.5-flash-preview-04-17",
16
+ "gemini-2.5-flash-preview-05-20",
17
+ "gemini-2.5-pro-preview-05-06"
18
+ ]
19
+ }