qwendashcoder commited on
Commit
25bfa97
·
verified ·
1 Parent(s): a278c0c

Update response_modes.py

Browse files
Files changed (1) hide show
  1. response_modes.py +0 -1
response_modes.py CHANGED
@@ -239,7 +239,6 @@ async def qwen_reasoning(message: str, context: str) -> str:
239
 
240
  # Update the chat_stream function to incorporate Qwen-3-32B reasoning in the "Deep Think" mode.
241
  async def chat_stream(message, history, current_model, logged_in_username, user_chats, current_chat_title, mode, auth_globals, file_paths=None, context=""):
242
- # Ensure that the async part is inside an async function
243
  if file_paths and isinstance(file_paths, list) and len(file_paths) > 5:
244
  history.append({"role": "assistant", "content": "❌ Maximum 5 files allowed per message. Please remove some and try again."})
245
  yield history
 
239
 
240
  # Update the chat_stream function to incorporate Qwen-3-32B reasoning in the "Deep Think" mode.
241
  async def chat_stream(message, history, current_model, logged_in_username, user_chats, current_chat_title, mode, auth_globals, file_paths=None, context=""):
 
242
  if file_paths and isinstance(file_paths, list) and len(file_paths) > 5:
243
  history.append({"role": "assistant", "content": "❌ Maximum 5 files allowed per message. Please remove some and try again."})
244
  yield history