anovazzi1
8943de2575
check advanced on node too
2023-04-28 19:59:52 -03:00
anovazzi1
cde48131e3
fix bug on event prevent default
2023-04-28 17:59:23 -03:00
anovazzi1
e92cf1110a
change chat shortcut to ctrl+k and handled websocket errors
2023-04-27 23:23:51 -03:00
anovazzi1
4f7630fa05
think bug fixed
2023-04-26 01:37:56 -03:00
anovazzi1
ad7683e7ad
new human chat color
2023-04-26 01:04:50 -03:00
anovazzi1
2d98de9368
new human chat color
2023-04-26 01:00:41 -03:00
anovazzi1
f7989aca85
avoiding error 1005 message
2023-04-26 00:59:41 -03:00
anovazzi1
38ec55db77
new file name
2023-04-26 00:44:24 -03:00
anovazzi1
395edf5d17
create message to display while chat is empty
2023-04-26 00:41:48 -03:00
anovazzi1
7ae1351e41
key on map to avoid error on console
2023-04-26 00:14:18 -03:00
anovazzi1
c3499db353
change lock logic
2023-04-26 00:02:02 -03:00
anovazzi1
4c287b54ce
set file extension to .png
2023-04-25 23:47:55 -03:00
anovazzi1
bb18f128ce
added basic error handling
2023-04-25 23:36:25 -03:00
anovazzi1
e453a22361
Merge remote-tracking branch 'origin/chat_and_cache' into websocket
2023-04-25 23:09:29 -03:00
anovazzi1
bc4abd50c4
using unique id as flow id
2023-04-25 23:09:19 -03:00
Gabriel Almeida
ed2a2c7db8
feat(chat_manager.py): send error message to client when an exception occurs
2023-04-25 23:07:05 -03:00
anovazzi1
5d94b5cd9c
fixed lockChat logic
2023-04-25 23:01:52 -03:00
anovazzi1
56d97e7c7f
file download working
2023-04-25 22:47:52 -03:00
anovazzi1
41a0bc0588
Merge remote-tracking branch 'origin/chat_and_cache' into websocket
2023-04-25 22:23:42 -03:00
Gabriel Almeida
5793e3cb2e
chore(Makefile): add debug log level to backend server command
2023-04-25 22:22:40 -03:00
anovazzi1
dc567ddd9a
Merge remote-tracking branch 'origin/chat_and_cache' into websocket
2023-04-25 22:16:11 -03:00
anovazzi1
ce2895f1c7
change lock logic
2023-04-25 22:16:07 -03:00
Gabriel Almeida
70bfc77a82
feat(chat_manager.py): add base64 encoding for image data in FileResponse objects
2023-04-25 22:15:36 -03:00
anovazzi1
a14226b8fa
Merge remote-tracking branch 'origin/chat_and_cache' into websocket
2023-04-25 22:12:38 -03:00
anovazzi1
2196111bf2
checking type from chat history
2023-04-25 22:12:33 -03:00
Gabriel Almeida
d3b72f3958
refactor(chat_manager.py): add comment to clarify iteration direction in get_file_responses method
2023-04-25 22:12:06 -03:00
anovazzi1
aa8a45bab6
Merge remote-tracking branch 'origin/chat_and_cache' into websocket
2023-04-25 22:07:18 -03:00
Gabriel Almeida
9f8b474a36
refactor(chat_manager.py): prevent notification when message is a FileResponse instance
2023-04-25 22:06:26 -03:00
anovazzi1
6ae18ff14d
Merge remote-tracking branch 'origin/chat_and_cache' into websocket
2023-04-25 22:02:34 -03:00
anovazzi1
101044946d
clean function implemented on front
2023-04-25 22:02:25 -03:00
Gabriel Almeida
4dcfd9d1db
feat(chat_manager.py): add file responses to ChatResponse
...
feat(schemas.py): add files field to ChatResponse schema
2023-04-25 22:01:50 -03:00
Gabriel Almeida
167d6c0f1e
refactor(chat_manager.py): add continue statement to clear_history block to skip message processing
2023-04-25 21:47:50 -03:00
Gabriel Almeida
ea210af19b
refactor(chat_manager.py, utils.py): remove unused imports and functions, move pil_to_base64 and try_setting_streaming_options to utils module
2023-04-25 21:46:02 -03:00
Gabriel Almeida
9138b1c55f
Merge remote-tracking branch 'origin/websocket' into chat_and_cache
2023-04-25 21:23:53 -03:00
anovazzi1
4cc2babcf1
bug on file
2023-04-25 21:23:13 -03:00
Gabriel Almeida
dc72f2e52f
refactor(test_websocket.py): change sender field to is_bot field in chat history tests
2023-04-25 21:06:29 -03:00
anovazzi1
6ba97f64c4
Merge remote-tracking branch 'origin/chat_and_cache' into websocket
2023-04-25 20:55:58 -03:00
anovazzi1
fcbc92f609
file card ready
2023-04-25 20:55:16 -03:00
Gabriel Almeida
42a17e3aaf
refactor(chat_manager.py): remove redundant or condition in line 129
...
feat(chat_manager.py): add strip() method to intermediate_steps to remove leading/trailing whitespaces
2023-04-25 20:50:49 -03:00
Gabriel Almeida
57826f1248
fix(api/chat.py): catch and log exceptions in websocket endpoint
...
fix(api/chat_manager.py): remove async from ChatHistory.add_message and on_chat_history_update
fix(interface/run.py): remove async from async_get_result_and_steps
refactor(utils/util.py): remove unused code and simplify sync_to_async decorator
2023-04-25 20:26:17 -03:00
Gabriel Almeida
c50f80ae53
Merge remote-tracking branch 'origin/websocket' into chat_and_cache
2023-04-25 19:47:13 -03:00
anovazzi1
804c9a5a3e
check ws status to unlock chat on error
2023-04-25 19:24:56 -03:00
Gabriel Almeida
db46f80ac8
Merge remote-tracking branch 'origin/websocket' into chat_and_cache
2023-04-25 19:11:40 -03:00
Gabriel Almeida
60e09a3628
feat(langflow): add support for async functions in Node's func parameter
...
fix(langflow): fix Node's func parameter to be a coroutine function if it is a sync function
2023-04-25 19:11:04 -03:00
anovazzi1
f36fe34831
new lock chat implemented
2023-04-25 18:53:27 -03:00
anovazzi1
be5b7822d7
custom scrollbar and text input became text area for chat
2023-04-25 18:36:46 -03:00
anovazzi1
61a3b9aad4
chat working as old with websocket, need to improve error handling and file events
2023-04-25 17:51:16 -03:00
anovazzi1
bc97420b5e
Merge remote-tracking branch 'origin/chat_and_cache' into websocket
2023-04-25 17:34:21 -03:00
anovazzi1
b526c436cd
removed chat history from flow save
2023-04-25 17:34:14 -03:00
Gabriel Almeida
2d68541650
refactor(api): remove sender field from ChatMessage and ChatResponse schemas
...
fix(api): fix ChatManager.get_history method to exclude start and stream messages
feat(api): add is_bot field to ChatMessage, ChatResponse, and FileResponse schemas
2023-04-25 17:30:53 -03:00