Update app/main.py
Browse files- app/main.py +1 -0
app/main.py
CHANGED
@@ -1231,6 +1231,7 @@ async def chat_completions(request: OpenAIRequest, api_key: str = Depends(get_ap
|
|
1231 |
# --- Helper function to make the API call (handles stream/non-stream) ---
|
1232 |
async def make_gemini_call(client_instance, model_name, prompt_func, current_gen_config): # Add client_instance parameter
|
1233 |
prompt = prompt_func(request.messages)
|
|
|
1234 |
|
1235 |
# Log prompt structure
|
1236 |
if isinstance(prompt, list):
|
|
|
1231 |
# --- Helper function to make the API call (handles stream/non-stream) ---
|
1232 |
async def make_gemini_call(client_instance, model_name, prompt_func, current_gen_config): # Add client_instance parameter
|
1233 |
prompt = prompt_func(request.messages)
|
1234 |
+
print(prompt)
|
1235 |
|
1236 |
# Log prompt structure
|
1237 |
if isinstance(prompt, list):
|