Update app/main.py
Browse files- app/main.py +9 -0
app/main.py
CHANGED
@@ -1369,6 +1369,15 @@ def create_final_chunk(model: str, response_id: str, candidate_count: int = 1) -
|
|
1369 |
async def list_models(api_key: str = Depends(get_api_key)):
|
1370 |
# Based on current information for Vertex AI models
|
1371 |
models = [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1372 |
{
|
1373 |
"id": "gemini-2.5-pro-exp-03-25",
|
1374 |
"object": "model",
|
|
|
1369 |
async def list_models(api_key: str = Depends(get_api_key)):
|
1370 |
# Based on current information for Vertex AI models
|
1371 |
models = [
|
1372 |
+
{
|
1373 |
+
"id": "gemini-2.5-pro-exp-05-06",
|
1374 |
+
"object": "model",
|
1375 |
+
"created": int(time.time()),
|
1376 |
+
"owned_by": "google",
|
1377 |
+
"permission": [],
|
1378 |
+
"root": "gemini-2.5-pro-exp-05-06",
|
1379 |
+
"parent": None,
|
1380 |
+
},
|
1381 |
{
|
1382 |
"id": "gemini-2.5-pro-exp-03-25",
|
1383 |
"object": "model",
|