🐛 (chat.py): add check for message.text being a string to prevent errors
♻️ (index.ts): refactor variable names for clarity and add debug logging ♻️ (IOModal/index.tsx): reformat code for better readability and consistency ✨ (IOModal/index.tsx): add excluded fields parameter to getMessagesTable calls
This commit is contained in:
parent
965b18a4de
commit
972f44ce7b
3 changed files with 45 additions and 35 deletions
|
|
@ -79,6 +79,6 @@ class ChatComponent(CustomComponent):
|
|||
text=input_value, sender=sender, sender_name=sender_name, files=files, session_id=session_id
|
||||
)
|
||||
self.status = message
|
||||
if session_id and isinstance(message, Message):
|
||||
if session_id and isinstance(message, Message) and isinstance(message.text, str):
|
||||
self.store_message(message)
|
||||
return message
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue