mirror of
https://github.com/snailyp/gemini-balance.git
synced 2026-05-28 19:59:33 +08:00
移除非流式完成错误日志中的异常信息,优化日志输出安全性
This commit is contained in:
@@ -250,7 +250,7 @@ class ChatService:
|
||||
gemini_response = response.json()
|
||||
return self.convert_gemini_response_to_openai(gemini_response, model, finish_reason="stop")
|
||||
except Exception as e:
|
||||
logger.error(f"Error in non-stream completion: {str(e)}")
|
||||
logger.error(f"Error in non-stream completion")
|
||||
raise
|
||||
|
||||
# async def _openai_chat_completion(
|
||||
|
||||
Reference in New Issue
Block a user