refactor(chat_manager.py): remove unused code block in ChatManager class
This commit is contained in:
parent
f6bc152dab
commit
79fb021307
1 changed files with 0 additions and 5 deletions
|
|
@ -174,11 +174,6 @@ class ChatManager:
|
|||
|
||||
with self.cache_manager.set_client_id(client_id):
|
||||
await self.process_message(client_id, payload)
|
||||
# After the message is sent, wait for message built
|
||||
final_message = await websocket.receive_json()
|
||||
# If the message is a string, it is a chat message
|
||||
chat_response = ChatResponse.parse_obj(final_message)
|
||||
self.chat_history.add_message(client_id, chat_response)
|
||||
|
||||
except Exception as e:
|
||||
# Handle any exceptions that might occur
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue