langflow/src
Gabriel Almeida 3029fe029f 🐛 fix(chat_manager.py): fix is_first_message logic to correctly identify first message
🐛 fix(nodes.py): remove deepcopying of certain objects to improve performance
🐛 fix(loading.py): add error handling for empty documents in instantiate_textsplitter
The is_first_message logic in chat_manager.py was not correctly identifying the first message. The fix in this commit changes the comparison to <= 1 instead of == 0. In nodes.py, deepcopying of certain objects was removed to improve performance. This was done because deepcopying was not necessary for these objects. In loading.py, error handling was added to handle empty documents in instantiate_textsplitter. This was done to prevent errors when the source provided did not load correctly or was empty.
2023-05-25 10:10:56 -03:00
..
backend 🐛 fix(chat_manager.py): fix is_first_message logic to correctly identify first message 2023-05-25 10:10:56 -03:00
frontend Merge branch 'dev' of https://github.com/logspace-ai/langflow into dev 2023-05-23 10:40:25 -03:00