Commit graph

5,410 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
f5ec26e26f 🐛 fix(loading.py): pass node_type argument to instantiate_documentloader function to improve flexibility and readability
 feat(loading.py): add support for WebBaseLoader node type to handle web_path parameter and convert it to web_paths parameter
2023-09-28 12:03:35 -03:00
Gabriel Luiz Freitas Almeida
6718e07dca 🔺 chore(pyproject.toml): update langchain dependency version to ^0.0.303 for compatibility and bug fixes 2023-09-28 12:03:35 -03:00
Lucas Oliveira
9e6b52281b removed unused imports 2023-09-28 11:56:39 -03:00
Lucas Oliveira
8c4a1db472 Fixed websocket not updating 2023-09-28 11:55:04 -03:00
Gabriel Luiz Freitas Almeida
d8eabdb7b9 🐛 fix(formModal): update last message prompt when data type is "stream" and isStream is true to display the correct prompt 2023-09-28 09:25:12 -03:00
Gabriel Luiz Freitas Almeida
2a783d34a9 Merge remote-tracking branch 'origin/dev' into fix_display_prompt 2023-09-28 09:13:14 -03:00
Gabriel Luiz Freitas Almeida
00c1a946c0 🐛 fix(formModal): add support for prompt in updateLastMessage function to update chat message template
🔀 merge(types): add prompt property to ChatMessageType to support chat message templates
2023-09-28 09:12:33 -03:00
Lucas Oliveira
eb9fe02ab4 Added other prompt templates to skipNodeUpdate 2023-09-27 23:55:32 -03:00
Cristhian Zanforlin Lousa
3f964ea60b Merge branch 'dev' of https://github.com/logspace-ai/langflow into dev 2023-09-27 23:51:29 -03:00
Cristhian Zanforlin Lousa
b76dfba5a0 🐛 fix(auth.py): decrease ACCESS_TOKEN_EXPIRE_MINUTES to 1 minute for faster token expiration
🐛 fix(API/index.ts): add null check for response object in updateFlowInDatabase function to prevent potential error
🐛 fix(formModal/index.tsx): close chat and websocket connection when user is redirected to login page
2023-09-27 23:51:24 -03:00
Lucas Oliveira
5d0d43184c Fixed formatting 2023-09-27 23:44:28 -03:00
Lucas Oliveira
a82925b760 Fixed bugs on Prompt modals 2023-09-27 23:42:09 -03:00
Lucas Oliveira
242d7cdd72 Fixed custom node field on PromptTemplate not saving 2023-09-27 23:16:51 -03:00
Cristhian Zanforlin Lousa
0fc7e2ee47 Merge branch 'dev' of https://github.com/logspace-ai/langflow into dev 2023-09-27 23:05:18 -03:00
Cristhian Zanforlin Lousa
61e50ac68e 🔧 fix(codeTabsComponent): remove unnecessary max-h-48 class from codeTabsComponent to fix overflow issue
🔧 fix(keypairListComponent): add mx-2 class to keypairListComponent when there are multiple key-value pairs to improve spacing
🔧 fix(keypairListComponent): remove ref parameter from onChange function in keypairListComponent to fix unnecessary re-rendering
🔧 fix(keypairListComponent): add mx-2 class to keypairListComponent when there are multiple key-value pairs to improve spacing
🔧 fix(editNodeModal): add my-3 class to keypairListComponent when there are multiple key-value pairs to improve spacing
🔧 fix(types): add advanced property to KeyPairListComponentType to support advanced mode in keypairListComponent
2023-09-27 23:05:10 -03:00
Lucas Oliveira
5ee7da93d3 Fixed keyless tooltip map that showed at Console.log 2023-09-27 22:21:28 -03:00
Lucas Oliveira
a7a52755ec Fixed nodes not deleting all at once 2023-09-27 22:13:33 -03:00
Lucas Oliveira
79215995fd Fixed bug where textarea could not be selected 2023-09-27 22:05:48 -03:00
Cristhian Zanforlin Lousa
f6eafa7f0f Merge branch 'dev' of https://github.com/logspace-ai/langflow into dev 2023-09-27 21:57:31 -03:00
Cristhian Zanforlin Lousa
1e99cce899 🐛 fix(keypairListComponent): pass ref to onChange function to ensure updated value is used
🎨 style(applies.css): adjust width of api-modal-tabs to be responsive on different screen sizes
2023-09-27 21:57:25 -03:00
Lucas Oliveira
721d04a729 Remove solution of christian to implement more general way 2023-09-27 21:43:15 -03:00
Lucas Oliveira
bf75bdbd59 Added nodelete class to not delete node when not selecting a text on modal 2023-09-27 21:36:47 -03:00
Lucas Oliveira
e9a1f10502 Fixed skeleton lines changing 2023-09-27 21:04:01 -03:00
Cristhian Zanforlin Lousa
f5601a6208 🐛 fix(extraSidebarComponent): fix handleBlur function to only reset filter data, filter edge, and search if search is empty 2023-09-27 19:37:08 -03:00
Cristhian Zanforlin Lousa
4e613117d6 🚀 chore(package.json): update reactflow package version to 11.9.2 for bug fixes and improvements
🐛 fix(dictAreaModal/index.tsx): prevent delete Node and close modal when user presses backspace key to improve user experience
2023-09-27 19:19:04 -03:00
Cristhian Zanforlin Lousa
ee800abb3a 🔧 chore(applies.css): reorganize CSS class properties for better readability and maintainability 2023-09-27 19:02:09 -03:00
Cristhian Zanforlin Lousa
65cb7d97d7 🔧 fix(parameterComponent): remove unused 'save' variable to improve code readability and maintainability 2023-09-27 18:34:48 -03:00
Gabriel Luiz Freitas Almeida
3ff6d584e4
Fix file_path not being set in the frontend code (#977) 2023-09-27 16:28:24 -03:00
Gabriel Luiz Freitas Almeida
5590dfe8f3 🐛 fix(langfuse.py): handle ImportError when importing Langfuse to prevent crashes when Langfuse is not installed
 feat(langfuse.py): set cls._instance to None when no Langfuse credentials are found to improve error handling and prevent crashes
2023-09-27 16:21:41 -03:00
anovazzi1
a3c2a0d13a Merge remote-tracking branch 'origin/dev' into fix_csv_loader 2023-09-27 15:34:15 -03:00
Cristhian Zanforlin Lousa
e183d8f4e4 🔧 fix(parameterComponent): remove console.log statement for newValue variable to clean up code
🔧 fix(keypairListComponent): refactor handleChangeKey and handleChangeValue functions to use useRef hook for value comparison and update
2023-09-27 15:30:22 -03:00
anovazzi1
f7bc0d8e0e Merge branch 'dev' into fix_csv_loader 2023-09-27 14:40:16 -03:00
Cristhian Zanforlin Lousa
b4ea2478e8 Merge branch 'dev' of https://github.com/logspace-ai/langflow into dev 2023-09-27 14:35:53 -03:00
Cristhian Zanforlin Lousa
3e3579d4c6 🐛 fix(parameterComponent): remove console.log statement to clean up code
🔥 chore(keypairListComponent): remove unused useEffect hook to improve code readability
2023-09-27 14:34:58 -03:00
anovazzi1
d73a69dd3d removed legacy function save 2023-09-27 14:04:36 -03:00
Gabriel Luiz Freitas Almeida
7498b85cf9
Fixes SQLDatabaseChain import and deactivates pickle for local cache (#976) 2023-09-27 13:04:49 -03:00
Gabriel Luiz Freitas Almeida
544cb859de 🐛 fix(utils.py): add support for importing SQLDatabaseChain from langchain_experimental.sql module 2023-09-27 13:02:37 -03:00
Gabriel Luiz Freitas Almeida
91bfa9a5d3 🐛 fix(utils.py): add error handling for flow not found in cache when updating build status 2023-09-27 12:37:12 -03:00
Gabriel Luiz Freitas Almeida
88f24d292d 🐛 fix(cache/manager.py): handle pickled values in get method to correctly return the value
 feat(cache/manager.py): add support for pickling values in set method to mimic Redis behavior
2023-09-27 12:36:32 -03:00
Gabriel Luiz Freitas Almeida
ecee08502f 🐛 fix(base.py): handle case when file_path is not found for a vertex 2023-09-27 12:36:14 -03:00
Gabriel Luiz Freitas Almeida
77d91cd23a 🐛 fix(documentloaders.py): make 'metadata' field optional instead of required to allow empty values 2023-09-27 12:35:59 -03:00
Gabriel Luiz Freitas Almeida
d6dcfd5266 🐛 fix(chat.py): replace direct assignment with update_build_status function to update build status in cache_service dictionary
🔧 chore(utils.py): add update_build_status function to update build status in cache_service dictionary
2023-09-27 11:52:34 -03:00
anovazzi1
2243e8df2d fix(buildTrigger): update validateNodes function calls to pass in nodes and edges arrays instead of reactFlowInstance
fix(formModal): update validateNodes function calls to pass in nodes and edges arrays instead of reactFlowInstance
fix(reactflowUtils): update validateNode function signature to accept edges array instead of reactFlowInstance
feat(reactflowUtils): update validateNodes function signature to accept nodes and edges arrays instead of reactFlowInstance
2023-09-27 11:39:22 -03:00
anovazzi1
eaab405742 code format 2023-09-27 10:20:34 -03:00
anovazzi1
76def20d86 fix bug when object comes as a string from backend 2023-09-27 10:19:49 -03:00
Gabriel Luiz Freitas Almeida
3ca8891b32
📝 docs(async-api.mdx): update endpoint path for checking task status … (#972) 2023-09-27 09:17:33 -03:00
Gabriel Luiz Freitas Almeida
2fe518a5dc
Make Celery check less verbose (#974) 2023-09-27 09:12:09 -03:00
Gabriel Luiz Freitas Almeida
05c73d4664 🔧 chore(Makefile): remove unnecessary parallel test execution flag to simplify test command
🔧 chore(Makefile): remove unnecessary parallel test execution flag to simplify test command
🔧 chore(Makefile): remove unnecessary parallel test execution flag to simplify test command
2023-09-27 09:10:42 -03:00
Gabriel Luiz Freitas Almeida
ede745c1dd 🐛 fix(custom_component.py): improve error message formatting for type hint error in build method
🐛 fix(logger.py): fix conditional statement for log_level configuration to properly handle None value
2023-09-27 08:54:11 -03:00
Gabriel Luiz Freitas Almeida
0b2b074e07 🔧 chore(logger.py): refactor configure function to improve readability and add support for configurable log level
🔒 chore(logger.py): add VALID_LOG_LEVELS constant to define valid log levels for better maintainability
2023-09-27 08:51:17 -03:00