Spaces:
Paused
Paused
Update app/main.py
Browse files- app/main.py +1 -1
app/main.py
CHANGED
|
@@ -725,7 +725,7 @@ async def chat_completions(request: OpenAIRequest, api_key: str = Depends(get_ap
|
|
| 725 |
500, "Vertex AI client not initialized", "server_error"
|
| 726 |
)
|
| 727 |
return JSONResponse(status_code=500, content=error_response)
|
| 728 |
-
print(f"Using globally initialized client
|
| 729 |
|
| 730 |
# Initialize Gemini model
|
| 731 |
search_tool = types.Tool(google_search=types.GoogleSearch())
|
|
|
|
| 725 |
500, "Vertex AI client not initialized", "server_error"
|
| 726 |
)
|
| 727 |
return JSONResponse(status_code=500, content=error_response)
|
| 728 |
+
print(f"Using globally initialized client.")
|
| 729 |
|
| 730 |
# Initialize Gemini model
|
| 731 |
search_tool = types.Tool(google_search=types.GoogleSearch())
|