muhammadnoman76 commited on
Commit
4e85674
·
1 Parent(s): 066eee3
Files changed (1) hide show
  1. app/services/chathistory.py +1 -1
app/services/chathistory.py CHANGED
@@ -154,7 +154,7 @@ class ChatSession:
154
  response = chat.get('response', '').strip()
155
  if query and response:
156
  formatted_chats.append(f"User: {query}")
157
- formatted_chats.append(f"Assistant: {response}")
158
  return "\n".join(formatted_chats) if formatted_chats else ""
159
 
160
  def save_chat(self, chat_data: Dict) -> bool:
 
154
  response = chat.get('response', '').strip()
155
  if query and response:
156
  formatted_chats.append(f"User: {query}")
157
+ formatted_chats.append(f"dermatologist Dr DermAI: {response}")
158
  return "\n".join(formatted_chats) if formatted_chats else ""
159
 
160
  def save_chat(self, chat_data: Dict) -> bool: