anovazzi1
eb4ebc4b3d
first version image
2023-05-09 22:29:31 -03:00
anovazzi1
08dacd7042
handle files on end
2023-05-09 20:07:48 -03:00
anovazzi1
5c2c9b943b
fancy code block implemmented
2023-05-09 19:33:44 -03:00
anovazzi1
4ca064ebdc
fixed duplicated message
2023-05-09 18:02:43 -03:00
anovazzi1
bb5dae166f
added markdown github extension and latex sintax to the user message
2023-05-09 17:31:56 -03:00
anovazzi1
aafb14add3
added markdown github extension and latex sintax to the chat
2023-05-09 17:31:30 -03:00
anovazzi1
702834731d
Merge branch 'streaming' into chatUpdate
2023-05-09 17:12:44 -03:00
anovazzi1
7f162789a1
improve on markdwon, but image from bot is comming as code block
2023-05-08 18:16:51 -03:00
Gabriel Almeida
3a412510d8
Merge branch 'chatUpdate' of https://github.com/logspace-ai/langflow into streaming
2023-05-08 15:40:28 -03:00
anovazzi1
055b68a2a2
basic markdown implemented
2023-05-08 15:15:22 -03:00
Gabriel Almeida
bb41f5af5d
refactor(loading.py): add try-except block to handle KeyError when removing 'model' from params dictionary
2023-05-06 08:29:38 -03:00
Gabriel Almeida
5cf531b520
refactor(callback.py): rename StreamingLLMCallbackHandler to AsyncStreamingLLMCallbackHandler and add new StreamingLLMCallbackHandler
...
fix(chat_manager.py): assign result to result variable instead of empty string in ChatResponse
refactor(run.py): add AsyncStreamingLLMCallbackHandler and StreamingLLMCallbackHandler imports and use kwargs instead of callbacks in get_result_and_steps function
2023-05-06 08:29:06 -03:00
Gabriel Almeida
234358bc6e
fix: if streaming did not work, get message from end
2023-05-06 08:28:54 -03:00
Gabriel Almeida
b5a1fec33d
Merge branch 'chatUpdate' of https://github.com/logspace-ai/langflow into streaming
2023-05-06 07:32:31 -03:00
anovazzi1
88c5cd9147
added stream thought
2023-05-05 19:06:07 -03:00
anovazzi1
7f9651a305
fixed onClose method websocket, streaming for text working
2023-05-05 18:49:00 -03:00
Gabriel Almeida
9a67a49622
feat(chat.py, chat_manager.py): add try-except block to handle WebSocketException and WebSocketDisconnect
...
This commit adds a try-except block to handle WebSocketException and WebSocketDisconnect in the `websocket_endpoint` function in `chat.py` and `handle_websocket` function in `chat_manager.py`. If an exception occurs, the function logs the error and closes the websocket connection with the appropriate status code and reason.
Additionally, the `handle_websocket` function in `chat_manager.py` now waits for a final message after sending a message to the client. If the message is a string, it is a chat message, which is then added to the chat history.
2023-05-05 16:38:40 -03:00
anovazzi1
cc5ac22b85
Merge remote-tracking branch 'origin/streaming' into chatUpdate
2023-05-05 12:44:02 -03:00
anovazzi1
a99a434c12
update ws error handle
2023-05-05 12:43:39 -03:00
anovazzi1
8758dd85d5
fixed double ws bug
2023-05-05 12:42:59 -03:00
Gabriel Almeida
dd4803180c
update lock
2023-05-05 12:42:52 -03:00
Gabriel Almeida
c032e2a0d1
refactor(chat_manager.py): remove unused variable 'result' and set message to empty string
2023-05-05 12:22:51 -03:00
Gabriel Almeida
474e14efaf
refactor(langflow): replace langchain_object.run with langchain_object.acall in get_result_and_steps function
...
feat(langflow): add support for streaming intermediate steps to the client via websockets
2023-05-05 11:55:25 -03:00
anovazzi1
4c2f3b80dc
update ws error handle
2023-05-04 19:25:24 -03:00
Gabriel Almeida
c630f293b0
Merge branch 'dev' of https://github.com/logspace-ai/langflow into dev
2023-05-04 18:31:05 -03:00
Gabriel Almeida
64bf97ff84
chore(base.py): add type ignore comment to clear_cache function
...
fix(base.py): raise ValueError if content is None in save_binary_file function
feat(nodes.py): add memory field to TimeTravelGuideChainNode
test(test_chains_template.py): add test for memory field in TimeTravelGuideChainNode
2023-05-04 18:24:12 -03:00
anovazzi1
52df6d9152
removed console.log and fixed onDeleteBug
2023-05-04 02:14:36 +00:00
anovazzi1
25da8d89e6
bug for multiple selection on mac fix
2023-05-04 02:14:36 +00:00
anovazzi1
db951cde20
UI improvements ( #240 )
...
some UI improvements:
- fixed password toggle button
- extend conversion to kebab case
- fixed outside click on the alert dropdown
- update logspace ui reference
2023-05-02 22:56:48 -03:00
anovazzi1
e2c8dfab2f
Merge branch 'dev' into uiImprovements
2023-05-02 22:52:57 -03:00
anovazzi1
6cf9611818
logspace reference ui update
2023-05-02 22:50:47 -03:00
anovazzi1
a8406472fb
removed console.log
2023-05-02 22:45:44 -03:00
Gabriel Almeida
e0761cfe23
refactor(agents): change tool_names variable from list to set
...
The `tool_names` variable was changed from a list to a set in the `JsonAgent`, `CSVAgent`, `VectorStoreAgent`, `SQLAgent`, and `MalfoyAgent` classes. This change was made to improve performance and avoid duplicates.
2023-05-02 23:23:36 +00:00
Gabriel Almeida
1b10041730
refactor(base.py): simplify type of Union fields to the first type in the Union
...
fix(test_agents_template.py): set value of list field to an empty list
fix(test_llms_template.py): change type of 'request_timeout' field to float
2023-05-02 23:23:36 +00:00
Gabriel Almeida
9d3098f3e2
refactor(langflow): reorder imports in multiple files
...
This commit reorders imports in multiple files to follow PEP8 guidelines
and improve code readability. No functional changes were made.
2023-05-02 23:23:36 +00:00
anovazzi1
a9d8c6fcb3
fomrated code
2023-05-02 23:23:36 +00:00
anovazzi1
83b3347fc5
fixed AutoUpdate for each node
2023-05-02 23:23:36 +00:00
anovazzi1
7f993ea908
fixed outside click on alert popup
2023-05-02 19:54:05 -03:00
anovazzi1
6608ec8ab7
added kebab case filter
2023-05-02 19:24:56 -03:00
anovazzi1
6c36545f98
fixed password visible
2023-05-02 19:03:21 -03:00
Gabriel Almeida
1813befde1
fix(inputComponent): add missing space in className prop
...
fix(inputComponent): add missing space in password class name
2023-05-02 18:50:21 -03:00
Gabriel Almeida
1b6e61d3cb
style(inputComponent): fix indentation and spacing in InputComponent component
2023-05-02 18:46:41 -03:00
Gabriel Almeida
e27f6d5d7d
fix: updateObject order was incorrect
...
Fixes Tool nodes are not loaded correctly. #228
2023-05-02 17:24:08 -03:00
Gabriel Almeida
ed5fd7f862
feat(GenericNode): add debounced validation of node on change to improve performance and user experience
...
feat(utils.ts): add debounce function to debounce function calls
2023-05-02 16:54:40 -03:00
Gabriel Almeida
7a50129149
refactor(loading.py): process params before instantiating class object
2023-05-02 16:39:33 -03:00
CodeAunt
5f796368ac
add view button for password input field
2023-05-02 18:48:30 +00:00
codeaunt
df611b6782
disable password copy
2023-05-02 18:48:30 +00:00
Gabriel Almeida
0c7f2d5886
Merge branch 'main' of https://github.com/logspace-ai/langflow into dev
2023-05-02 15:29:05 -03:00
Gabriel Almeida
4ee891711c
refactor(agents): change tool_names from set to list
...
This commit changes the `tool_names` variable from a set to a list in the `JsonAgent`, `CSVAgent`, `VectorStoreAgent`, `SQLAgent`, `VectorStoreRouterAgent`, `MalfoyAgent`, and `load_agent_executor_from_config` classes. This is done to ensure that the `tool_names` variable is always a list, even when there is only one tool.
2023-05-02 18:17:08 +00:00
Gabriel Almeida
68408a672e
chore(pyproject.toml): update package version from 0.0.67 to 0.0.68
2023-05-02 18:17:08 +00:00