Commit graph

6,039 commits

Author SHA1 Message Date
Igor Carvalho
84b2fb8aae refactor[CustomNodes]: Add types to functions that didnt have it 2023-07-20 17:12:50 -03:00
Lucas Oliveira
b2a7fe174c Disable copy paste removed in favor of class wrapping 2023-07-20 17:07:54 -03:00
Lucas Oliveira
4c834ab239 Fixed undoing nodes on modal 2023-07-20 17:01:34 -03:00
Lucas Oliveira
a63dcfa109 Fixed undo of nodes when on input 2023-07-20 17:00:37 -03:00
Igor Carvalho
fff6e494db refactor[src/pages]: Add types to pages functions that didnt have it 2023-07-20 16:50:32 -03:00
Lucas Oliveira
7b1b028364 Fixed node dragging and selecting text on input 2023-07-20 16:49:41 -03:00
Gabriel Luiz Freitas Almeida
30968e089f 🐛 fix(callback.py): improve error logging by including the specific error message
🐛 fix(chat.py): improve error logging by including the specific error message
🐛 fix(manager.py): improve error logging by including the specific error message
🐛 fix(base.py): improve error logging by including the specific error message
🐛 fix(processing/base.py): improve error logging by including the specific error message
2023-07-20 16:34:25 -03:00
Igor Carvalho
54f1f5c504 refactor[utils.ts]: Add type to functions that didnt have it 2023-07-20 16:02:09 -03:00
Gabriel Luiz Freitas Almeida
7193bb4488 🐛 fix(custom_component.py): fix session context and add error handling for flow not found 2023-07-20 15:38:22 -03:00
Rodrigo Nader
7d84ed41e8 feat(docs): add "ZONE UNDER CONSTRUCTION" message to components
The commit adds a cautionary message to the agents, chains, embeddings, and LLMs documentation pages, indicating that the documentation is still under construction. The message encourages users to provide feedback and report any issues to help improve the documentation.
2023-07-20 15:12:30 -03:00
Gabriel Luiz Freitas Almeida
c5bf15a2c4 🔧 fix(custom_component.py): fix import statements and refactor load_flow method to use UUID and improve code readability
🔀 merge(custom_component.py): merge changes from langflow.processing.process module to load_flow method to improve performance and data retrieval
2023-07-20 15:09:51 -03:00
gustavoschaedler
eb7158ad26 🔨 refactor(custom_component.py): remove unused imports and unused load_flow method parameters for better code cleanliness
🔨 refactor(custom_component.py): update load_flow method to use the process_flow function from the api endpoints module for improved modularity and separation of concerns
2023-07-20 18:56:46 +01:00
gustavoschaedler
a4cfe9e1e4 🔧 chore(custom_component.py): reformat code for better readability and maintainability
🔧 chore(custom_component.py): reformat code to improve code style and adhere to PEP 8 guidelines
2023-07-20 18:44:32 +01:00
gustavoschaedler
df77c25138 Merge branch 'python_custom_node_component' of github.com:logspace-ai/langflow into python_custom_node_component 2023-07-20 18:42:04 +01:00
gustavoschaedler
2513cbcdd9 🔧 chore(custom_component.py): reformat code for better readability and maintainability
🚀 feat(custom_component.py): add `load_flow` method to load a flow from the database using session and flow_id
2023-07-20 18:35:53 +01:00
Lucas Oliveira
fae76a4a5e Changed placeholder and text placement on prompt component 2023-07-20 14:04:03 -03:00
Lucas Oliveira
08c63dbd73 Removed cleanEdges on handleClick 2023-07-20 14:00:00 -03:00
Igor Carvalho
33ea356eba Merge dev into types_refactor 2023-07-20 13:31:18 -03:00
Gabriel Luiz Freitas Almeida
d5577c78a4
build(deps): bump aiohttp from 3.8.4 to 3.8.5 (#664) 2023-07-20 13:23:49 -03:00
dependabot[bot]
608445eb73
build(deps): bump aiohttp from 3.8.4 to 3.8.5
Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.8.4 to 3.8.5.
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/v3.8.5/CHANGES.rst)
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.8.4...v3.8.5)

---
updated-dependencies:
- dependency-name: aiohttp
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-20 16:19:32 +00:00
Gabriel Luiz Freitas Almeida
8b3fe49e51 🎨 style(styleUtils.ts): replace Sparkles icon with GradientSparkles icon for custom_components in nodeIconsLucide object to improve visual consistency 2023-07-20 11:52:57 -03:00
Gabriel Luiz Freitas Almeida
162036cbc7 Merge remote-tracking branch 'refs/remotes/origin/python_custom_node_component' into python_custom_node_component 2023-07-20 11:52:14 -03:00
Gabriel Luiz Freitas Almeida
a4d4e5cde4 🎨 chore(GradientSparkles): add GradientSparkles icon component
🔧 fix(utils.ts): replace Sparkles icon with GradientSparkles icon component in nodeIconsLucide object
2023-07-20 11:45:53 -03:00
Gabriel Luiz Freitas Almeida
72a3316fad css formatting 2023-07-20 11:45:16 -03:00
Gabriel Luiz Freitas Almeida
1f4f38345c
Hotfix: 0.3.2 (#663)
Fixes #661
2023-07-20 11:32:25 -03:00
Lucas Oliveira
b013f84896 Merge branch 'modalRefactor' into python_custom_node_component 2023-07-20 11:29:32 -03:00
Lucas Oliveira
d0300a197c added generic icon onto custom tab code 2023-07-20 11:16:45 -03:00
Lucas Oliveira
fb22ec701f Merge branch 'dev' into modalRefactor 2023-07-20 11:16:03 -03:00
Lucas Oliveira
f1b8760a02 merge fixes 2023-07-20 10:16:58 -03:00
Lucas Oliveira
5f375d4c2a fix merge 2023-07-20 10:16:28 -03:00
Lucas Oliveira
6a0de25b80 Merge branch 'modalRefactor' into python_custom_node_component 2023-07-20 10:14:49 -03:00
Lucas Oliveira
8f6e8f9e91 Fixed bug that has been fixed at CustomComponents 2023-07-20 10:12:29 -03:00
Gabriel Luiz Freitas Almeida
9fd026aa54
Merge branch 'main' into release 2023-07-20 10:11:04 -03:00
Lucas Oliveira
2022f4b31b Merge branch 'python_custom_node_component' of github.com:logspace-ai/langflow into python_custom_node_component 2023-07-20 10:05:06 -03:00
Lucas Oliveira
af63dd02da Removed unused console.log 2023-07-20 10:04:45 -03:00
Lucas Oliveira
efd58383b9 Fixed unnecessary calls 2023-07-20 10:04:05 -03:00
Lucas Oliveira
19aca4a031 Fixed bug where edges are not maintained after refreshing custom component; Fixed bug where handles are not refreshed on custom component; 2023-07-20 10:03:11 -03:00
Carlos Coelho
fbb2b32cbb
Documentation Components - Reference (#655) 2023-07-20 09:37:52 -03:00
Gabriel Luiz Freitas Almeida
583eca137a feat(logger.py): configure default logger with optional log level and log file parameters for better customization
🔧 chore(logger.py): remove unnecessary blank lines and comments for cleaner code
2023-07-20 09:09:17 -03:00
Gabriel Luiz Freitas Almeida
558e0d75ab
Merge branch 'main' into release 2023-07-20 07:21:20 -03:00
Gabriel Luiz Freitas Almeida
74eece1237 🔖 chore(pyproject.toml): update package version to 0.3.2
🔖 chore(pyproject.toml): update langchain dependency to version 0.0.237
2023-07-20 07:12:57 -03:00
Gabriel Luiz Freitas Almeida
1ab0dd6257 🐛 fix(main.py): add error handling for non-existent static files directory 2023-07-20 07:11:46 -03:00
Gabriel Luiz Freitas Almeida
55f468be3d 🐛 fix(chat.py): add exception logging to track errors in stream_build function 2023-07-20 06:59:04 -03:00
Gabriel Luiz Freitas Almeida
e648ac4f41 🐛 fix(types.py): convert avg_length to an integer to improve readability in DocumentLoaderVertex and TextSplitterVertex 2023-07-20 06:58:39 -03:00
Gabriel Luiz Freitas Almeida
0cf37f4f1f 🐛 fix(base.py): add check to initialize empty list for params[key] if it doesn't exist before extending it with built values
Fixes textsplitter error #661
2023-07-20 06:58:21 -03:00
Igor Carvalho
9a75153125 refactor[utils.ts]: Change arrow functions to normal functions 2023-07-19 18:23:34 -03:00
Igor Carvalho
6d5ef2647a Formated code 2023-07-19 18:23:34 -03:00
Igor Carvalho
3aeb590264 refactor[constants.ts]: Remove functions, enums, icons and interfaces from constants file 2023-07-19 18:23:34 -03:00
Igor Carvalho
c20541fc37 refactor[src/constants]: Create a constants and enums directorie 2023-07-19 18:23:34 -03:00
anovazzi1
1a5f33ddd4 chore(codeAreaModal): import cleanEdges function from reactflowUtils to improve code readability and maintainability
feat(codeAreaModal): add typesContext to access reactFlowInstance for cleaning edges before processing code
2023-07-19 18:14:22 -03:00