Commit graph

2,037 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
5ce9fa17cf 📝 docs(chains.py): update description of CombineDocsChainNode
The description of CombineDocsChainNode was updated to reflect the actual functionality of the node. The node is now used to load a question answering chain instead of constructing a chain from combined documents.
2023-06-15 11:40:29 -03:00
Gabriel Luiz Freitas Almeida
d51219583e 🔥 refactor(chatComponent): remove console.log statement and unused imports
The console.log statement in the Chat component has been removed as it is no longer needed. Unused imports have also been removed from the BuildTrigger and Chat components to improve code readability and maintainability.
2023-06-15 10:58:21 -03:00
Lucas Oliveira
8198d63302 Merge branch 'db' of github.com:logspace-ai/langflow into db 2023-06-15 10:55:15 -03:00
Lucas Oliveira
3568c9993c Fixed file name truncation 2023-06-15 10:54:02 -03:00
Gabriel Luiz Freitas Almeida
f6f9ef5a27 🔧 chore(frontend): update dependencies and formatting in package.json and postcss.config.js
🐛 fix(frontend): add missing semicolon in EditFlowSettingsComponent
The package.json and postcss.config.js files were updated to improve formatting and update dependencies. The EditFlowSettingsComponent had a missing semicolon which was added.

🔧 chore: fix formatting issues in multiple files
The changes in this commit are purely cosmetic and do not affect the functionality of the application. The changes include fixing formatting issues such as indentation, whitespace, and semicolons in multiple files. These changes improve the readability and maintainability of the codebase.
2023-06-15 10:20:14 -03:00
Gabriel Luiz Freitas Almeida
61a6710adf 🔒 chore(llms.py): set password field to False for fields not containing 'key' or 'token' in their name
The openai_api_version field value is no longer set as it is not needed. The password field is now set to False for fields not containing 'key' or 'token' in their name to improve security.
🐛 fix(llms.py): remove setting of openai_api_version field value
2023-06-15 09:45:15 -03:00
Lucas Oliveira
39926381f1 Fixed visual bugs on header 2023-06-15 09:03:51 -03:00
Lucas Oliveira
c260ffe316 Fixed export popup not closing 2023-06-15 08:58:30 -03:00
Lucas Oliveira
788213a38f Curl logo added 2023-06-15 08:37:16 -03:00
Lucas Oliveira
435927df8e Fixed flow settings modal not editing description and not closing 2023-06-15 08:34:17 -03:00
Gabriel Luiz Freitas Almeida
a23121aa54 🐛 fix(chat.py): yield error message when an exception occurs during stream_build
🔧 chore(base.py): fix typo in docstring
The fix in chat.py ensures that an error message is yielded when an exception occurs during stream_build. This helps to provide more information to the client-side when an error occurs. The typo in base.py's docstring is fixed to improve readability.
2023-06-15 07:44:11 -03:00
Gabriel Luiz Freitas Almeida
ef5623e1b3 📝 docs(API): add documentation for postBuildInit function
 feat(API): add postBuildInit function to post the build init of a flow
The postBuildInit function has been added to post the build init of a flow. The function takes in a flow object and returns a promise that resolves to an AxiosResponse containing the build status. Documentation has been added to the function to improve code readability and maintainability.
2023-06-15 07:43:53 -03:00
Gabriel Luiz Freitas Almeida
d28d7483dd 🚀 feat(contexts): add SSEProvider to ContextWrapper
The SSEProvider is added to the ContextWrapper to provide a context for the Server-Sent Events (SSE) functionality. This allows the frontend to receive real-time updates from the server without the need for constant polling.
2023-06-15 07:38:35 -03:00
Gabriel Luiz Freitas Almeida
3920eb50d6 Merge remote-tracking branch 'origin/validation_fix' into db 2023-06-15 07:37:26 -03:00
Rodrigo Nader
5e0afbde39 revert sidebar width to 52 2023-06-15 00:09:41 -03:00
Rodrigo Nader
fd59bd77b3 Refactor SQL agent and related nodes
- Rename `VectorStoreAgent` to `Vector store agent` in `custom.py`
- Replace "Construct a sql agent from an LLM and tools." with "Construct an SQL agent from an LLM and tools." in `custom.py`
- Update descriptions of `SQLAgentNode`, `TimeTravelGuideChainNode`, `CombineDocsChainNode`, and `ToolNode` in related files
- Increase width of `ExtraSidebarComponent` container in `index.tsx` from 52 to 56
2023-06-14 23:54:39 -03:00
Rodrigo Nader
d9e3390a99 Refactor: Adjusted the width of the extra sidebar component to 52px and the width of the search input to 100%. 2023-06-14 23:22:05 -03:00
anovazzi1
fe6cf3149c fix truncate width 2023-06-14 23:04:35 -03:00
anovazzi1
62793681b2 remove sidebar truncate 2023-06-14 22:57:30 -03:00
anovazzi1
f5870de256 icon on settings 2023-06-14 22:53:47 -03:00
anovazzi1
23a7e556e0
Merge/mp (#490) 2023-06-14 21:59:15 -03:00
anovazzi1
524a927fff Merge branch 'db' into merge/mp 2023-06-14 21:57:56 -03:00
Rodrigo Nader
5dbf3e1b0a Initiate repository & update frontend CSS
The code changes update the frontend index.css and cardComponent/index.tsx files. 'bg-colors', 'gradients', and CSS variables have been modified, including the addittion of copilot generated gradients for optimization. The 'utils.ts' file has also been updated.
2023-06-14 21:49:38 -03:00
Cristhian Zanforlin Lousa
3d69d76c6f Merge branch 'db' into merge/mp 2023-06-14 21:47:53 -03:00
Cristhian Zanforlin Lousa
86eb9af794 Formatting project 2023-06-14 21:22:45 -03:00
Cristhian Zanforlin Lousa
1a9ed4d94b Adjust on changing components on edit mode 2023-06-14 21:19:27 -03:00
anovazzi1
1cf0c204a7 update gray 500 and slate 2023-06-14 20:57:26 -03:00
anovazzi1
0980d41ac5 update bg-gray-500 to bg-ring 2023-06-14 20:51:12 -03:00
anovazzi1
6eda94b9dc update bg-gray-200 to accent 2023-06-14 20:47:44 -03:00
anovazzi1
1589bc3662 fix chat background color 2023-06-14 20:46:27 -03:00
Rodrigo Nader
aaef0fd25c Add colorcode comments to CSS variables
Added comments to CSS variables to make it easier to read and understand the purpose of each color code for future code maintainability.
2023-06-14 20:39:22 -03:00
anovazzi1
3898c1823f upload flow filter not json files 2023-06-14 20:27:14 -03:00
anovazzi1
e8e92a7ec5 Merge branch 'db' of personal:logspace-ai/langflow into db 2023-06-14 20:02:51 -03:00
anovazzi1
057a02c90c fit view 2023-06-14 20:02:38 -03:00
Gabriel Luiz Freitas Almeida
f8bf008878 🐛 fix(constants.tsx): change node type id format to include the type name in uppercase
 feat(constants.tsx): add support for tweaks in getPythonApiCode and getCurlCode functions
🎨 style(ApiModal/index.tsx): remove unused imports and components
🎨 style(PageComponent/index.tsx): change node type id format to include the type name in uppercase
 feat(utils.ts): add buildTweaks function to create an empty tweaks object for each node
The node type id format is now changed to include the type name in uppercase, which improves consistency with the naming conventions. Support for tweaks is added to the getPythonApiCode and getCurlCode functions, which allows the API to apply tweaks to the flow. Unused imports and components are removed from the ApiModal component. The buildTweaks function is added to create an empty tweaks object for each node.
2023-06-14 20:01:12 -03:00
Cristhian Zanforlin Lousa
339ed2060e tooltip showing 2023-06-14 19:58:35 -03:00
anovazzi1
b5f10b68d0 updated ids 2023-06-14 19:46:59 -03:00
anovazzi1
bba2942d37 format code 2023-06-14 19:33:21 -03:00
Cristhian Zanforlin Lousa
e0ec58bc75 general css adjusts 2023-06-14 18:52:51 -03:00
anovazzi1
7aa437e92f smaller icons 2023-06-14 18:31:55 -03:00
anovazzi1
c1b4b1d360 Merge branch 'db' of personal:logspace-ai/langflow into db 2023-06-14 18:23:00 -03:00
anovazzi1
e3a29fe41f node description using text-muted-foreground 2023-06-14 18:22:47 -03:00
anovazzi1
7538a1e37a using shadToggle to node too 2023-06-14 18:17:35 -03:00
Lucas Oliveira
bef0761416 Changed button to primary 2023-06-14 18:05:02 -03:00
anovazzi1
063fc6cc6b Merge branch 'db' of personal:logspace-ai/langflow into db 2023-06-14 17:35:24 -03:00
anovazzi1
04cf77ffd6 fix code box on APIMdal 2023-06-14 17:34:39 -03:00
Gabriel Luiz Freitas Almeida
56b16dac60 🔨 refactor(documentloaders.py): move build_template function outside of DocumentLoaderFrontNode class
The build_template function is now outside of the DocumentLoaderFrontNode class to improve code organization and make it more modular. This change also makes it easier to reuse the function in other parts of the codebase.
2023-06-14 17:15:54 -03:00
anovazzi1
429cf52c63 removed bold from text title and description 2023-06-14 17:15:52 -03:00
anovazzi1
6921b3855a Merge branch 'db' of personal:logspace-ai/langflow into db 2023-06-14 17:08:58 -03:00
anovazzi1
109b071d6c removed edark mode button 2023-06-14 17:08:52 -03:00