Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -112,7 +112,19 @@ if not secret_api_endpoint or not secret_api_endpoint_2 or not secret_api_endpoi
|
|
112 |
raise HTTPException(status_code=500, detail="API endpoint(s) are not configured in environment variables.")
|
113 |
|
114 |
# Define models that should use the secondary endpoint
|
115 |
-
alternate_models = {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
|
117 |
available_model_ids = []
|
118 |
class Payload(BaseModel):
|
|
|
112 |
raise HTTPException(status_code=500, detail="API endpoint(s) are not configured in environment variables.")
|
113 |
|
114 |
# Define models that should use the secondary endpoint
|
115 |
+
alternate_models = {
|
116 |
+
"gpt-4o-mini",
|
117 |
+
"deepseek-v3",
|
118 |
+
"llama-3.1-8b-instruct",
|
119 |
+
"searchgpt",
|
120 |
+
"llama-3.1-sonar-small-128k-online",
|
121 |
+
"sonar-reasoning",
|
122 |
+
"deepseek-r1-uncensored",
|
123 |
+
"tinyswallow1.5b",
|
124 |
+
"andy-3.5",
|
125 |
+
"o3-mini-low",
|
126 |
+
"hermes-3-llama-3.2-3b"
|
127 |
+
}
|
128 |
|
129 |
available_model_ids = []
|
130 |
class Payload(BaseModel):
|