Commit graph

3,231 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
032d0eb65a
Merge branch 'dev' into lf-docs-fix 2023-07-12 18:43:57 -03:00
Gabriel Luiz Freitas Almeida
963a6b0d31 🔥 chore(.gitignore): add .docusaurus/ directory to ignore list to exclude Docusaurus generated files from version control 2023-07-12 18:42:55 -03:00
Gabriel Luiz Freitas Almeida
b98fb4b4fa 🔧 chore(deploy_gh-pages.yml): add cache dependency path for npm cache to include ./docs/package-lock.json
🔧 chore(deploy_gh-pages.yml): update node version to 18 for the deployment job
2023-07-12 18:30:36 -03:00
Gabriel Luiz Freitas Almeida
2de7fe1c13 📝 chore(deploy_gh-pages.yml): add GitHub Actions workflow to deploy to GitHub Pages
This commit adds a new GitHub Actions workflow file, `deploy_gh-pages.yml`, which is responsible for deploying the project to GitHub Pages. The workflow is triggered on pushes to the `lf-docs-fix` branch.

The workflow consists of the following steps:
1. Checkout the repository
2. Set up Node.js environment with version 18 and npm caching
3. Install dependencies for the documentation
4. Build the website
5. Deploy the built website to GitHub Pages using the `peaceiris/actions-gh-pages` action
   - The deployment is done to the `gh-pages` branch
   - The build output is published from the `./docs/build` directory
   - The commit authorship is assigned to the official GH-Actions bot

This workflow enables automatic deployment of the documentation to GitHub Pages whenever changes are pushed to the `lf-docs-fix` branch.
2023-07-12 18:28:45 -03:00
Gabriel Luiz Freitas Almeida
7034660af2 removing build files 2023-07-12 18:20:12 -03:00
Gabriel Luiz Freitas Almeida
803914bf07 🔧 chore(docusaurus.config.js): format code and fix linting issues
🔧 chore(sidebars.js): format code and fix indentation
2023-07-12 18:04:23 -03:00
Lucas Oliveira
3b41e189d3 Chat behavior fixed when there is no input variables empty 2023-07-11 23:04:36 -03:00
Lucas Oliveira
fcfe927255 changed separator 2023-07-11 22:53:41 -03:00
Lucas Oliveira
6a9c00bd3a Merge branch 'dev' of github.com:logspace-ai/langflow into dev 2023-07-11 22:51:17 -03:00
Lucas Oliveira
6ba70af2b9 added padding on highlight 2023-07-11 22:50:12 -03:00
Rodrigo Nader
717c8400fe change dark primary color 2023-07-11 22:42:35 -03:00
Lucas Oliveira
562792938e Fixed notification center styling 2023-07-11 22:32:19 -03:00
Lucas Oliveira
fb10a0d5f4 Fixed UI of Prompt Modal on Generic Modal 2023-07-11 22:29:00 -03:00
Lucas Oliveira
4ece1f13ff Fixed button appearing at start 2023-07-11 21:35:31 -03:00
Lucas Oliveira
9ec48cbd17 Fixed generic modal to use baseModal and fixed inputVariables to show on footer 2023-07-11 21:33:13 -03:00
Lucas Oliveira
7979f3c02e Fixed constant not used correctly 2023-07-11 21:08:21 -03:00
Lucas Oliveira
aba0ed40da Edit Prompt modal and other generic modals spacing fixed 2023-07-11 21:06:35 -03:00
Lucas Oliveira
d15c5636a2 Fixed bug on chatMessage 2023-07-11 20:33:46 -03:00
Lucas Oliveira
2c1203c437 Fixed colors on formModal 2023-07-11 20:20:21 -03:00
Lucas Oliveira
0471e99a86 Fixed useEffect bug 2023-07-11 19:58:33 -03:00
anovazzi1
bbdd98209a fix(chatInput): fix CSS class name in ChatInput component to use "bg-background" instead of "bg-input" when form-modal-lock-false condition is met 2023-07-11 18:50:22 -03:00
Gabriel Luiz Freitas Almeida
ee55d729e3
Adds better prompt experience and many other improvements (#621) 2023-07-11 18:35:56 -03:00
anovazzi1
7dc0930ba4 Merge branch 'form_io' of personal:logspace-ai/langflow into form_io 2023-07-11 18:29:41 -03:00
anovazzi1
3f147286ce fix bg of chat input 2023-07-11 18:29:10 -03:00
Gabriel Luiz Freitas Almeida
c159f71b83 🐛 fix(test_chains_template.py): set "show" property of "verbose" to False in conversation_chain, llm_chain, and llm_math_chain tests to fix failing tests due to incorrect value 2023-07-11 18:03:39 -03:00
anovazzi1
f05285e703 added background to fix bug on linux 2023-07-11 17:24:08 -03:00
anovazzi1
33d55ef605 added background to fix bug on linux 2023-07-11 17:22:52 -03:00
Gabriel Luiz Freitas Almeida
39c20fe46b 🐛 fix(EditNodeModal): remove unnecessary whitespace
🐛 fix(exportModal): remove unnecessary whitespace
🐛 fix(tailwind.config.js): fix keyframes names and add missing comma
2023-07-11 17:18:43 -03:00
Gabriel Luiz Freitas Almeida
5001416716 ⬆️ chore(pyproject.toml): update httpx dependency to use wildcard version to allow any compatible version 2023-07-11 17:17:41 -03:00
Gabriel Luiz Freitas Almeida
77ba780d0e 🐛 fix(custom.py): add handle_parsing_errors=True to VectorStoreAgent, SQLAgent, and VectorStoreRouterAgent classes to handle parsing errors during execution
🐛 fix(loading.py): add handle_parsing_errors=True to instantiate_agent and load_agent_executor functions to handle parsing errors during agent instantiation and loading
2023-07-11 17:17:40 -03:00
Igor Carvalho
3de654c8df refactor(google.svg): Add better google svg icon 2023-07-11 17:13:55 -03:00
anovazzi1
cfa13df98d refactor(chatMessage/index.tsx): improve code readability and fix rendering issue
The code in the `ChatMessage` component has been refactored to improve code readability and fix a rendering issue.

- In line 10, the `div` element has been updated to include the `flex flex-col` class for better styling.
- In lines 16-18, the conditional rendering of the `template` has been simplified by removing unnecessary ternary operator and curly braces.
- In lines 21-34, the rendering of the `template` has been updated to correctly split the text into lines and replace placeholders with values.
- In lines 37-39, a line break element (`<br />`) has been added for better visual separation.
- In lines 41-43, the rendering of the `chat.message[chat.chatKey]` has been moved outside the `span` element for correct rendering.

These changes improve the readability of the code and fix the rendering issue in the `ChatMessage` component.
2023-07-11 16:00:56 -03:00
Igor Carvalho
c312c56b14 Merge branch 'form_io' of github.com:logspace-ai/langflow into form_io 2023-07-11 15:55:17 -03:00
Igor Carvalho
18f2c58c72 refactor: Add exportModal tailwind constants and remove dark classes 2023-07-11 15:55:05 -03:00
anovazzi1
63e8e927e7 fix(parameterComponent): add null check before calling cleanEdges to prevent error when reactFlowInstance is null 2023-07-11 15:29:48 -03:00
Cristhian Zanforlin Lousa
db5848ea2b 🔧 fix(parameterComponent): remove console.log statement for refNumberComponents variable
🔧 fix(EditNodeModal): change filter method to map method in changeAdvanced function to correctly update advanced property of template object
2023-07-11 14:30:56 -03:00
Cristhian Zanforlin Lousa
d745f90598 🐛 fix(tailwind.config.js): rename keyframes from "accordion-down" to "slideDown" and from "accordion-up" to "slideUp" for better clarity and semantics
 feat(tailwind.config.js): update animation durations for "accordion-down" to 300ms ease-out and "accordion-up" to 300ms ease-in for smoother transitions
2023-07-11 13:59:25 -03:00
anovazzi1
96b432d127 fix(formModal): remove connectWS from dependencies array in useEffect to prevent unnecessary reconnections
fix(formModal): remove connectWS from dependencies array in useEffect to prevent unnecessary reconnections
2023-07-11 11:58:48 -03:00
anovazzi1
7a7efc2afa prompt template bug fix 2023-07-11 10:52:25 -03:00
Gabriel Luiz Freitas Almeida
66d8a104c0 🔥 refactor(utils.ts): remove unused import of HuggingFaceIcon to improve code cleanliness and reduce unused dependencies 2023-07-11 09:25:51 -03:00
Gabriel Luiz Freitas Almeida
a91de9d615 chore: poetry lock 2023-07-11 09:03:30 -03:00
Gabriel Luiz Freitas Almeida
ec478a8a5e 🐛 fix(process.py): add comments to clarify the purpose of adding artifacts to inputs
 feat(process.py): refactor processing logic for VectorStore objects to use the search method instead of generating a result message
🐛 fix(parameterComponent/index.tsx): remove duplicate import of MAX_LENGTH_TO_SCROLL_TOOLTIP
🔧 chore(utils.ts): import HuggingFaceIcon from the correct file path
2023-07-11 09:03:29 -03:00
Gabriel Luiz Freitas Almeida
4a0324bc7f 🔥 chore(config.yaml): comment out DocArrayInMemorySearch vectorstore integration
ℹ️ The DocArrayInMemorySearch vectorstore integration is currently not supported due to compatibility issues with the required version of docarray. Commenting it out to prevent potential errors.
2023-07-11 09:03:28 -03:00
Cristhian Zanforlin Lousa
94b7002af4 🚀 feat(utils.ts): import HuggingFaceIcon from "./icons/HuggingFace" to use the HuggingFace icon in the application 2023-07-11 08:37:46 -03:00
Gabriel Luiz Freitas Almeida
8bca40e4af Merge remote-tracking branch 'origin/dev' into form_io 2023-07-10 23:29:41 -03:00
Rodrigo Nader
0df969ac9d Change chat disabled color 2023-07-10 22:58:27 -03:00
Cristhian Zanforlin Lousa
dccf83ff17 Merge branch 'form_io' of https://github.com/logspace-ai/langflow into form_io 2023-07-10 22:55:49 -03:00
Lucas Oliveira
49de361b21 Merge branch 'form_io' of github.com:logspace-ai/langflow into form_io 2023-07-10 22:55:54 -03:00
Cristhian Zanforlin Lousa
cf278a4c74 merge fix 2023-07-10 22:55:42 -03:00
anovazzi1
786d089eb3 Merge branch 'form_io' of personal:logspace-ai/langflow into form_io 2023-07-10 22:55:17 -03:00