Moonfanz commited on
Commit
2365945
·
verified ·
1 Parent(s): 43a10de

Upload 4 files

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -225,8 +225,8 @@ def chat_completions():
225
  temperature = request_data.get('temperature', 1)
226
  max_tokens = request_data.get('max_tokens', 8192)
227
  stream = request_data.get('stream', False)
228
-
229
- logger.info(f"\n{model} [r] → {current_api_key[:11]}...")
230
 
231
  gemini_history, user_message, error_response = func.process_messages_for_gemini(messages)
232
 
 
225
  temperature = request_data.get('temperature', 1)
226
  max_tokens = request_data.get('max_tokens', 8192)
227
  stream = request_data.get('stream', False)
228
+ hint = "流式" if stream else "非流"
229
+ logger.info(f"\n{model} [{hint}] → {current_api_key[:11]}...")
230
 
231
  gemini_history, user_message, error_response = func.process_messages_for_gemini(messages)
232