style(chat_manager.py, chatMessage/index.tsx): fix indentation and formatting issues
This commit is contained in:
parent
0ef4572917
commit
0945dbe582
2 changed files with 70 additions and 70 deletions
|
|
@ -168,7 +168,7 @@ class ChatManager:
|
|||
# Handle any exceptions that might occur
|
||||
logger.exception(e)
|
||||
# send a message to the client
|
||||
await self.send_message(client_id, f"Error: {e}")
|
||||
await self.send_message(client_id, str(e))
|
||||
raise e
|
||||
finally:
|
||||
await self.active_connections[client_id].close(
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ export default function ChatMessage({ chat }: { chat: ChatMessageType }) {
|
|||
</div>
|
||||
{!chat.isSend ? (
|
||||
<div className="w-full text-start flex items-center">
|
||||
<div className=" relative text-start inline-block text-gray-600 text-sm font-normal">
|
||||
<div className="w-full relative text-start inline-block text-gray-600 text-sm font-normal">
|
||||
{hidden && chat.thought && chat.thought !== "" && (
|
||||
<div
|
||||
onClick={() => setHidden((prev) => !prev)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue