Gabriel Luiz Freitas Almeida
e61277cc6d
Fix typo in README.md
2023-12-13 08:37:29 -03:00
Gabriel Luiz Freitas Almeida
bcc58cfe6a
📝 docs(README.md): update documentation to include new parameters for completeness and clarity
...
The README.md file has been updated to include information about two new parameters: `--backend-only` and `store`. These parameters allow users to customize the behavior of Langflow, especially in development or specialized deployment scenarios. The `--backend-only` parameter allows running only the backend server without the frontend, and it can also be set using the `LANGFLOW_BACKEND_ONLY` environment variable. The `store` parameter enables the store features by default, and it can be deactivated using the `--no-store` option or the `LANGFLOW_STORE` environment variable.
2023-12-12 13:50:47 -03:00
Gabriel Luiz Freitas Almeida
9770f67227
🐛 fix(types/components/index.ts): add duration field to validationStatusType to match the changes in chat.py
...
🐛 fix(chat.py): fix typo in variable name, change time_elapded to time_elapsed for consistency and readability
🐛 fix(chat.py): remove redundant duration information from params field in response object
✨ feat(chat.py): add duration field to response object to provide information about the time taken for the build process
🐛 fix(GenericNode/index.tsx): fix formatting issue in displaying duration and params in GenericNode component
🐛 fix(GenericNode/index.tsx): fix type annotation for line variable in map function
2023-12-12 13:28:49 -03:00
Gabriel Luiz Freitas Almeida
e3dcd9b926
Update dependencies in pyproject.toml
2023-12-12 10:01:44 -03:00
Gabriel Luiz Freitas Almeida
ccc457dbdb
Add format_elapsed_time function to utils.py and display build duration in stream_build
2023-12-12 10:01:13 -03:00
Gabriel Luiz Freitas Almeida
9c58bfc584
🔧 chore(utils.py): refactor import statement to improve code readability and maintainability
...
🔧 chore(utils.py): refactor assignment of langchain.llm_cache to use a setter function for better encapsulation
2023-12-11 22:12:59 -03:00
Gabriel Luiz Freitas Almeida
05df751132
🐛 fix(utils.py): check if value_dict["value"] and value_dict["file_path"] are truthy before updating template field value and file path value respectively
2023-12-11 21:46:01 -03:00
Gabriel Luiz Freitas Almeida
debf495cf9
Refactor format_template field in FrontendNode
2023-12-11 21:45:32 -03:00
cristhianzl
cb39d77667
fix(EditFlowSettingsComponent): add handleFocus function to fix double-click text selection issue in input fields
2023-12-11 21:32:09 -03:00
Lucas Oliveira
c5eb7d9e62
Changed icon
2023-12-11 19:50:37 -03:00
Gabriel Luiz Freitas Almeida
55d10b35b1
Refactor loading.py: Import modules and handle
...
retriever in instantiate_custom_component()
2023-12-11 19:11:34 -03:00
Lucas Oliveira
e8dca57e60
Fixed alert naming when sharing
2023-12-11 18:49:07 -03:00
Lucas Oliveira
6ca00b35d1
Fixed Share icon and disposition
2023-12-11 18:45:48 -03:00
anovazzi1
6b2f432327
fix(flowsContext.tsx): add a setTimeout to prevent updating state with wrong data
...
The setTimeout function is added to delay the execution of the addFlowToLocalState function by 200 milliseconds. This is done to prevent updating the state with incorrect data.
2023-12-11 17:57:49 -03:00
Gabriel Luiz Freitas Almeida
617acef214
Fix ValueError in ChromaComponent
2023-12-11 17:27:16 -03:00
Gabriel Luiz Freitas Almeida
8432d15482
Remove console.log statements, fix embedding parameter order, and improve formatting ( #1199 )
2023-12-11 17:06:50 -03:00
Gabriel Luiz Freitas Almeida
0e7a1e75e4
🐛 fix(base.py): exclude format_template field from serialization to prevent it from being included in the serialized output
...
✨ feat(base.py): add format_template field to FrontendNode class to control whether the template should be formatted or not during serialization
🐛 fix(custom_components.py): exclude format_template field from serialization to prevent it from being included in the serialized output
✨ feat(custom_components.py): add format_template field to CustomComponentFrontendNode class to control whether the template should be formatted or not during serialization
2023-12-11 17:05:24 -03:00
Gabriel Luiz Freitas Almeida
2ae11c335c
Fix formatting in types.py
2023-12-11 17:04:41 -03:00
Gabriel Luiz Freitas Almeida
6b996e2843
Fix embedding parameter order in ChromaComponent
...
constructor
2023-12-11 17:03:28 -03:00
cristhianzl
e7530a4ca5
Merge branch 'dev' of github.com:logspace-ai/langflow into dev
2023-12-11 16:54:02 -03:00
cristhianzl
e7affbd34e
fixing tests
2023-12-11 16:53:52 -03:00
Gabriel Luiz Freitas Almeida
a8a5cb35e3
Remove console.log statements from FloatComponent
2023-12-11 16:49:19 -03:00
anovazzi1
002b8667a8
fix(PageComponent): add flow and flow.data as dependencies to useEffect to ensure proper cleanup and prevent memory leaks
2023-12-11 16:48:14 -03:00
Gabriel Luiz Freitas Almeida
aec93df799
Fix handling of empty string values in Vertex
...
class
2023-12-11 16:14:18 -03:00
Gabriel Luiz Freitas Almeida
e91b14373a
Fix ChromaComponent document validation
2023-12-11 16:09:15 -03:00
Gabriel Luiz Freitas Almeida
a0cf3c3a02
Update frontend dependencies ( #1198 )
2023-12-11 15:10:34 -03:00
Gabriel Luiz Freitas Almeida
c59f87c420
🔒 chore(frontend): update @adobe/css-tools to version 4.3.2 for security and bug fixes
...
🔒 chore(frontend): update @babel/code-frame to version 7.23.5 for bug fixes
🔒 chore(frontend): update @babel/generator to version 7.23.6 for bug fixes
🔒 chore(frontend): update @babel/helper-string-parser to version 7.23.4 for bug fixes
🔒 chore(frontend): update @babel/highlight to version 7.23.4 for bug fixes
🔒 chore(frontend): update @babel/parser to version 7.23.6 for bug fixes
🔒 chore(frontend): update @babel/traverse to version 7.23.6 for bug fixes
🔒 chore(frontend): update @babel/types to version 7.23.6 for bug fixes
🔒 chore(frontend): update vite to version 4.5.1 for bug fixes
⬆️ chore(frontend): update dependencies
- Update `@babel/code-frame` from version 7.22.13 to 7.23.5
- Update `@babel/generator` from version 7.23.3 to 7.23.6
- Update `@babel/helper-string-parser` from version 7.22.5 to 7.23.4
- Update `@babel/highlight` from version 7.22.20 to 7.23.4
- Update `@babel/parser` from version 7.23.3 to 7.23.6
- Update `@babel/traverse` from version 7.23.3 to 7.23.6
- Update `@babel/types` from version 7.23.3 to 7.23.6
- Update `vite` from version 4.5.0 to 4.5.1
These updates include bug fixes, performance improvements, and new features.
2023-12-11 15:09:07 -03:00
Gabriel Luiz Freitas Almeida
6011cd5693
chore(deps-dev): bump vite from 4.5.0 to 4.5.1 in /src/frontend ( #1181 )
2023-12-11 15:04:09 -03:00
Gabriel Luiz Freitas Almeida
3ef418a630
chore(deps-dev): bump browserify-sign from 4.2.1 to 4.2.2 in /docs ( #1090 )
2023-12-11 15:03:37 -03:00
Gabriel Luiz Freitas Almeida
5bb6231279
Bump axios, @docusaurus/core, @docusaurus/plugin-ideal-image, @docusaurus/preset-classic, @docusaurus/theme-classic and @docusaurus/theme-search-algolia in /docs ( #1197 )
2023-12-11 15:03:09 -03:00
dependabot[bot]
4a4ceb6caf
Bump axios, @docusaurus/core, @docusaurus/plugin-ideal-image, @docusaurus/preset-classic, @docusaurus/theme-classic and @docusaurus/theme-search-algolia
...
Removes [axios](https://github.com/axios/axios ). It's no longer used after updating ancestor dependencies [axios](https://github.com/axios/axios ), [@docusaurus/core](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus ), [@docusaurus/plugin-ideal-image](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-plugin-ideal-image ), [@docusaurus/preset-classic](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-preset-classic ), [@docusaurus/theme-classic](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-theme-classic ) and [@docusaurus/theme-search-algolia](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-theme-search-algolia ). These dependencies need to be updated together.
Removes `axios`
Updates `@docusaurus/core` from 2.4.1 to 3.0.1
- [Release notes](https://github.com/facebook/docusaurus/releases )
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/docusaurus/commits/v3.0.1/packages/docusaurus )
Updates `@docusaurus/plugin-ideal-image` from 2.4.1 to 3.0.1
- [Release notes](https://github.com/facebook/docusaurus/releases )
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/docusaurus/commits/v3.0.1/packages/docusaurus-plugin-ideal-image )
Updates `@docusaurus/preset-classic` from 2.4.1 to 3.0.1
- [Release notes](https://github.com/facebook/docusaurus/releases )
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/docusaurus/commits/v3.0.1/packages/docusaurus-preset-classic )
Updates `@docusaurus/theme-classic` from 2.4.1 to 3.0.1
- [Release notes](https://github.com/facebook/docusaurus/releases )
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/docusaurus/commits/v3.0.1/packages/docusaurus-theme-classic )
Updates `@docusaurus/theme-search-algolia` from 2.4.1 to 3.0.1
- [Release notes](https://github.com/facebook/docusaurus/releases )
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/docusaurus/commits/v3.0.1/packages/docusaurus-theme-search-algolia )
---
updated-dependencies:
- dependency-name: axios
dependency-type: indirect
- dependency-name: "@docusaurus/core"
dependency-type: direct:production
- dependency-name: "@docusaurus/plugin-ideal-image"
dependency-type: direct:production
- dependency-name: "@docusaurus/preset-classic"
dependency-type: direct:production
- dependency-name: "@docusaurus/theme-classic"
dependency-type: direct:production
- dependency-name: "@docusaurus/theme-search-algolia"
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-11 18:01:08 +00:00
Gabriel Luiz Freitas Almeida
bf114172b9
Fix various issues and refactor codebase ( #1196 )
2023-12-11 14:59:20 -03:00
Gabriel Luiz Freitas Almeida
65cf389bff
Refactor BaiduQianfanChatEndpoints.py to use
...
SecretStr for sensitive keys
2023-12-11 14:53:53 -03:00
Gabriel Luiz Freitas Almeida
094a80b50a
Fix test_superuser assertion
2023-12-11 14:46:37 -03:00
Gabriel Luiz Freitas Almeida
9e0d115161
Remove textmon because it breaks tests
2023-12-11 14:45:53 -03:00
Gabriel Luiz Freitas Almeida
c8f2469c9f
Refactor field handling in frontend nodes
2023-12-11 12:58:31 -03:00
Gabriel Luiz Freitas Almeida
a651d680ee
Refactor custom component template creation to use FrontendNode
2023-12-11 12:39:29 -03:00
Gabriel Luiz Freitas Almeida
d6ad55ca4a
Fix default value for name field
2023-12-11 12:35:08 -03:00
Gabriel Luiz Freitas Almeida
a0377c0ac7
🐛 fix(custom_component.py): rename build_template_config method to template_config for better naming consistency
...
🔧 chore(test_custom_component.py): update test_custom_component_build_template_config to use the renamed template_config property
2023-12-11 12:32:02 -03:00
Gabriel Luiz Freitas Almeida
0515ce4fb2
Add base class and output type to FrontendNode
...
model
2023-12-11 12:30:42 -03:00
Gabriel Luiz Freitas Almeida
17c6ed1db3
✨ feat(base.py): add methods to get, update, and upsert fields in the Template class for easier field manipulation
...
🔧 chore(base.py): refactor Template class to improve code readability and maintainability
2023-12-11 12:30:03 -03:00
Gabriel Luiz Freitas Almeida
3c4c743c4f
Add testmon and instafail options to pytest
2023-12-11 12:27:52 -03:00
Gabriel Luiz Freitas Almeida
ea350e58d2
Add pytest-instafail and pytest-testmon packages
2023-12-11 12:26:13 -03:00
Gabriel Luiz Freitas Almeida
b2c49e1dde
Add .testmondata* to .gitignore
2023-12-11 12:25:48 -03:00
Gabriel Luiz Freitas Almeida
468e6d5745
🐛 fix(__main__.py): replace deprecated session.query() method with session.exec() to fix superuser creation issue
2023-12-11 12:23:38 -03:00
Lucas Oliveira
3169e2ecf5
Refactor unnecessary code at API
2023-12-11 10:03:46 -03:00
Gabriel Luiz Freitas Almeida
6a23dd1b8f
Remove unnecessary code in postValidatePrompt
...
function
2023-12-11 08:25:41 -03:00
Gabriel Luiz Freitas Almeida
163564dacc
Refactor serialize method in FrontendNode class
2023-12-11 08:25:10 -03:00
Gabriel Luiz Freitas Almeida
e2fe2364ea
✨ feat(base.py): add custom serialization method to FrontendNodeRequest class to remove unnecessary name field in the response
2023-12-11 08:24:18 -03:00
Lucas Oliveira
89e7469032
Fixed Share button position and icon
2023-12-11 00:18:14 -03:00