Commit graph

  • 9496728eb5 Fixed Python API code Lucas Oliveira 2023-05-11 18:58:07 -03:00
  • d55d209dc3 formatting Gabriel Almeida 2023-05-11 14:33:52 -03:00
  • 2589b1f468 Fixed dark mode classes on FileInput Lucas Oliveira 2023-05-11 14:01:59 -03:00
  • 6030b47915 Removed JS from API modal Lucas Oliveira 2023-05-11 14:00:29 -03:00
  • 97c60eaa5d Merge branch 'dev' into frontChanges Lucas Oliveira 2023-05-11 13:59:12 -03:00
  • 2b5e3c9b46
    Streaming, Chat Markdown, and CacheManager (#282) Lucas Oliveira 2023-05-11 13:51:47 -03:00
  • 7fbce31a50 refactor(chatModal): improve code readability and formatting Gabriel Almeida 2023-05-11 11:28:12 -03:00
  • 2e16618e47 refactor(chat_manager.py): use dict.pop() method to remove client_id from active_connections dictionary Gabriel Almeida 2023-05-11 11:15:51 -03:00
  • b16084d927 fix(chat_manager.py): limit the length of the exception message to 120 characters Gabriel Almeida 2023-05-11 10:18:07 -03:00
  • df178e10e2 Merge branch 'streaming' of https://github.com/logspace-ai/langflow into streaming Gabriel Almeida 2023-05-11 09:31:32 -03:00
  • 03e9edd8b7 Merge branch 'dev' of https://github.com/logspace-ai/langflow into streaming Gabriel Almeida 2023-05-11 09:31:28 -03:00
  • 23f349a2d8 Fixed typo in class at API modal Lucas Oliveira 2023-05-11 00:04:23 -03:00
  • d01db97cd3 Changed Chat modal to work with dark mode Lucas Oliveira 2023-05-11 00:00:17 -03:00
  • 2961fc25a7 ApiModal dark mode fixed Lucas Oliveira 2023-05-10 23:56:20 -03:00
  • 92aadaf934 Merge branch 'dev' of https://github.com/logspace-ai/langflow into streaming Gabriel Almeida 2023-05-10 23:22:15 -03:00
  • fd5f5784b8 refactor(api): remove unused imports in chat_manager.py and endpoints.py Gabriel Almeida 2023-05-10 22:50:43 -03:00
  • e50e9b187c style(chat.py): format imports using PEP8 style guide Gabriel Almeida 2023-05-10 22:49:01 -03:00
  • 4046a7b1e5 refactor(agents/custom.py): create CustomAgentExecutor abstract class and make all agents inherit from it fix(agents/custom.py): fix import error for NotEnoughElementsException refactor(run.py): remove unused import statement for loading module Gabriel Almeida 2023-05-10 22:48:49 -03:00
  • fc20775fdb Merge branch 'streaming' of https://github.com/logspace-ai/langflow into streaming Gabriel Almeida 2023-05-10 22:44:02 -03:00
  • 374a6c8f46 style(fileComponent): add dark mode support to file download button and tooltip background color and text color Gabriel Almeida 2023-05-10 22:41:28 -03:00
  • 84d0c28c2f fixed padding anovazzi1 2023-05-10 22:38:20 -03:00
  • 2ffc8b266f feat(nodes.py): add optional memory field to MidJourneyPromptChainNode class constructor Gabriel Almeida 2023-05-10 22:31:16 -03:00
  • 1f4f734dc3 changed padding button, and chat Gabriel Almeida 2023-05-10 22:31:10 -03:00
  • 9a63329dc7 fix spacing anovazzi1 2023-05-10 22:09:57 -03:00
  • b1e5e4fd19 formated all code inside the src folder anovazzi1 2023-05-10 21:18:29 -03:00
  • 32972b0f8a added error handling anovazzi1 2023-05-10 20:30:14 -03:00
  • 6431392576 implemented image setup anovazzi1 2023-05-10 19:44:41 -03:00
  • ad1a1e683f
    Copy Paste, Undo and Redo implemented (#253) anovazzi1 2023-05-10 18:47:00 -03:00
  • 5d6d50d537 api modal fixed with code viewer Lucas Oliveira 2023-05-10 15:49:57 -03:00
  • 39b965d502 migrating to Vite Your Name 2023-05-10 23:30:09 +05:30
  • 7fde19b36a fix(chat_manager.py): handle case where client is not in active_connections dictionary and remove duplicate code in finally block Gabriel Almeida 2023-05-10 12:17:52 -03:00
  • 6b6ac17167 fix(chat_manager.py): close websocket connection with status code 1011 and error message on exception Gabriel Almeida 2023-05-10 12:09:14 -03:00
  • 55d18426fc fix(chat_manager.py): fix chat history message to add response instead of request message Gabriel Almeida 2023-05-10 11:57:29 -03:00
  • f83160cf21 refactor(langflow): organize imports in multiple files Gabriel Almeida 2023-05-10 11:42:36 -03:00
  • 7c1c513106 refactor(loading.py): refactor instantiate_class function to improve readability and maintainability Gabriel Almeida 2023-05-10 11:41:34 -03:00
  • 31062f2a8c refactor(run.py): remove unused process_graph function refactor(test_graph.py): update get_result_and_steps to get_result_and_thought function name Gabriel Almeida 2023-05-10 11:31:06 -03:00
  • 222bb119d3 refactor(chat_manager.py): remove unused code and method call in ChatManager constructor refactor(chat_manager.py): remove unused method call in ChatManager.handle_message() Gabriel Almeida 2023-05-10 11:30:46 -03:00
  • fc007e4349 Merge remote-tracking branch 'origin/dev' into streaming Gabriel Almeida 2023-05-10 11:19:04 -03:00
  • 81f6382b40 Merge remote-tracking branch 'origin/chatUpdate' into streaming Gabriel Almeida 2023-05-10 11:01:08 -03:00
  • 67db4ba69c change line endings to linux. the other way was not wokring consistantly dataman 2023-05-06 13:23:28 -06:00
  • 858d84e2a2 change line endings to linux. dataman 2023-05-05 12:43:00 -06:00
  • eb4ebc4b3d first version image anovazzi1 2023-05-09 22:29:31 -03:00
  • 08dacd7042 handle files on end anovazzi1 2023-05-09 20:07:48 -03:00
  • 5c2c9b943b fancy code block implemmented anovazzi1 2023-05-09 19:33:44 -03:00
  • 4ca064ebdc fixed duplicated message anovazzi1 2023-05-09 18:02:43 -03:00
  • 279d86a0e1 API modal implemented Lucas Oliveira 2023-05-09 17:59:03 -03:00
  • bb5dae166f added markdown github extension and latex sintax to the user message anovazzi1 2023-05-09 17:31:56 -03:00
  • aafb14add3 added markdown github extension and latex sintax to the chat anovazzi1 2023-05-09 17:31:30 -03:00
  • 702834731d Merge branch 'streaming' into chatUpdate anovazzi1 2023-05-09 17:12:44 -03:00
  • b8c95fb7ec Get data from Validate Nodes and display it on Tooltip Lucas Oliveira 2023-05-09 16:56:05 -03:00
  • 79fb021307 refactor(chat_manager.py): remove unused code block in ChatManager class Gabriel Almeida 2023-05-09 16:52:04 -03:00
  • ae1ed90b35
    Merge pull request #267 from logspace-ai:better_predict Gabriel Luiz Freitas Almeida 2023-05-09 17:09:45 +00:00
  • 2c836c1950 fix: remove snake to normal case from export flow Gabriel Almeida 2023-05-09 13:19:53 -03:00
  • 0bc96208e4 refactor(api): change predict endpoint to use async/await and add response model feat(api): add predict request and response schemas refactor(interface): rename get_result_and_steps to get_result_and_thought and remove async prefix fix(interface): use get_result_and_thought instead of async_get_result_and_steps in process_graph_cached Gabriel Almeida 2023-05-09 13:19:19 -03:00
  • f6bc152dab fix(chat_manager.py): add missing import statement feat(chat_manager.py): add chat message to chat history when received and sent Gabriel Almeida 2023-05-09 12:37:15 -03:00
  • 956b28b6e9 refactor(chatModal): add condition to concatenate message string only if end is false Gabriel Almeida 2023-05-09 11:52:01 -03:00
  • 7f162789a1 improve on markdwon, but image from bot is comming as code block anovazzi1 2023-05-08 18:16:51 -03:00
  • 3a412510d8 Merge branch 'chatUpdate' of https://github.com/logspace-ai/langflow into streaming Gabriel Almeida 2023-05-08 15:40:28 -03:00
  • 055b68a2a2 basic markdown implemented anovazzi1 2023-05-08 15:15:22 -03:00
  • 8810a0392a refactor(langflow): rename BaseLLM to BaseLanguageModel in multiple files fix(langflow): fix type hints in multiple files Gabriel Almeida 2023-05-08 15:05:28 -03:00
  • 01de3a2021 refactor(test_graph.py): remove unused import of build_json from payload module Gabriel Almeida 2023-05-06 10:27:26 -03:00
  • 7b8aaef359 feat(config.yaml): add GoogleSerperRun tool to the list of available tools Gabriel Almeida 2023-05-06 10:27:03 -03:00
  • 5836a91a39 fix: replace basic_example Gabriel Almeida 2023-05-06 10:27:00 -03:00
  • 3b733ada01 refactor(tests): remove unused imports and variables, fix typos and update node types Gabriel Almeida 2023-05-06 10:26:42 -03:00
  • 7ae42bf7d2 refactor(importing/utils.py): move tool_creator import to import_tool function refactor(tools/base.py): remove redundant variable assignment refactor(tools/constants.py): import all tools dynamically using __all__ attribute of langchain.tools module Gabriel Almeida 2023-05-06 10:26:21 -03:00
  • bbf4f5ce1a chore(agents): add type ignore comments to ZeroShotAgent instantiation Gabriel Almeida 2023-05-06 10:25:58 -03:00
  • 1d5f156a22 refactor(cache): add cache attribute to memoized function wrapper refactor(test_cache.py): update import statements and function names test(cache): add tests for load_or_build_langchain_object, build_langchain_object_with_caching, build_graph, and cache size limit Gabriel Almeida 2023-05-06 10:25:44 -03:00
  • fa9825849a fix(validate.py): change logger.exception to logger.error to avoid logging traceback Gabriel Almeida 2023-05-06 10:25:31 -03:00
  • 8e9a745bd4 fix(test.yml): correct typo in make command from 'test' to 'tests' Gabriel Almeida 2023-05-06 10:25:21 -03:00
  • c065ceb979 feat(pyproject.toml): add wikipedia package to dependencies Gabriel Almeida 2023-05-06 10:25:05 -03:00
  • ab1bbf8d90 Undo and redo shortcuts working properly now Lucas Oliveira 2023-05-06 20:18:46 -03:00
  • 247310360d Fixed shortcuts not working on Linux Lucas Oliveira 2023-05-06 18:45:51 -03:00
  • 17863c6e93 refactor(loading.py): add try-except block to handle KeyError when removing 'model' from params dictionary Gabriel Almeida 2023-05-06 08:30:25 -03:00
  • bb41f5af5d refactor(loading.py): add try-except block to handle KeyError when removing 'model' from params dictionary Gabriel Almeida 2023-05-06 08:29:38 -03:00
  • 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 Gabriel Almeida 2023-05-06 08:29:06 -03:00
  • 234358bc6e fix: if streaming did not work, get message from end Gabriel Almeida 2023-05-06 08:28:54 -03:00
  • b5a1fec33d Merge branch 'chatUpdate' of https://github.com/logspace-ai/langflow into streaming Gabriel Almeida 2023-05-06 07:32:31 -03:00
  • 88c5cd9147 added stream thought anovazzi1 2023-05-05 19:06:07 -03:00
  • 7f9651a305 fixed onClose method websocket, streaming for text working anovazzi1 2023-05-05 18:49:00 -03:00
  • 9a67a49622 feat(chat.py, chat_manager.py): add try-except block to handle WebSocketException and WebSocketDisconnect Gabriel Almeida 2023-05-05 16:38:40 -03:00
  • cc5ac22b85 Merge remote-tracking branch 'origin/streaming' into chatUpdate anovazzi1 2023-05-05 12:44:02 -03:00
  • a99a434c12 update ws error handle anovazzi1 2023-05-05 12:43:39 -03:00
  • 8758dd85d5 fixed double ws bug anovazzi1 2023-05-05 12:42:59 -03:00
  • dd4803180c update lock Gabriel Almeida 2023-05-05 12:42:52 -03:00
  • c032e2a0d1 refactor(chat_manager.py): remove unused variable 'result' and set message to empty string Gabriel Almeida 2023-05-05 12:22:51 -03:00
  • 9cc4d84580 Undo and redo working Lucas Oliveira 2023-05-05 12:18:47 -03:00
  • 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 Gabriel Almeida 2023-05-05 11:55:25 -03:00
  • 2122c0d92e Fixed position where the nodes are pasted Lucas Oliveira 2023-05-05 11:42:08 -03:00
  • 3c49feecaf Copy and Paste function done Lucas Oliveira 2023-05-05 10:58:25 -03:00
  • 4c2f3b80dc update ws error handle anovazzi1 2023-05-04 19:25:24 -03:00
  • c630f293b0 Merge branch 'dev' of https://github.com/logspace-ai/langflow into dev Gabriel Almeida 2023-05-04 18:31:05 -03:00
  • 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 Gabriel Almeida 2023-05-04 18:24:12 -03:00
  • 52df6d9152 removed console.log and fixed onDeleteBug anovazzi1 2023-05-03 20:15:43 -03:00
  • 25da8d89e6 bug for multiple selection on mac fix anovazzi1 2023-05-02 23:16:13 -03:00
  • db951cde20
    UI improvements (#240) anovazzi1 2023-05-02 22:56:48 -03:00
  • e2c8dfab2f Merge branch 'dev' into uiImprovements anovazzi1 2023-05-02 22:52:57 -03:00
  • 6cf9611818 logspace reference ui update anovazzi1 2023-05-02 22:50:47 -03:00
  • a8406472fb removed console.log anovazzi1 2023-05-02 22:45:44 -03:00
  • e0761cfe23 refactor(agents): change tool_names variable from list to set Gabriel Almeida 2023-05-02 20:23:14 -03:00
  • 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 Gabriel Almeida 2023-05-02 20:12:44 -03:00