Commit graph

3,183 commits

Author SHA1 Message Date
anovazzi1
3f147286ce fix bg of chat input 2023-07-11 18:29:10 -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
Lucas Oliveira
9331c9b9c0 Fix copy paste on text area 2023-07-10 22:54:50 -03:00
anovazzi1
51c3bf3b8f fix dark mode for connections 2023-07-10 22:54:06 -03:00
Lucas Oliveira
9c1115b512 Merge branch 'form_io' of github.com:logspace-ai/langflow into form_io 2023-07-10 22:45:47 -03:00
Lucas Oliveira
d809919084 Fixed node text selecting when selecting nodes 2023-07-10 22:44:48 -03:00
Cristhian Zanforlin Lousa
d2f28dee6b 🐛 fix(parameterComponent): add refNumberComponents to keep track of the number of components
🐛 fix(parameterComponent): change text-destructive class to text-status-red for better semantics
🐛 fix(ModalField): change text-destructive class to text-status-red for better semantics
🐛 fix(codeAreaModal): change text-destructive class to text-status-red for better semantics
2023-07-10 22:43:34 -03:00
Gabriel Luiz Freitas Almeida
a90c9fbd34 🐛 fix(loading.py): replace spaces with underscores in tool names to improve consistency and avoid issues
🐛 fix(base.py): catch and log exceptions when fixing memory inputs to prevent crashes
🐛 fix(process.py): check if memory_key attribute exists before accessing it to prevent AttributeError
🐛 fix(memories.py): hide memory_key field for ConversationEntityMemory to improve user experience
2023-07-10 22:42:44 -03:00
Lucas Oliveira
70ea71e40a Merge branch 'form_io' of github.com:logspace-ai/langflow into form_io 2023-07-10 22:39:47 -03:00
Lucas Oliveira
9726b5cce5 Deleted unused code 2023-07-10 22:38:44 -03:00
anovazzi1
93ab5b115c Merge branch 'form_io' of personal:logspace-ai/langflow into form_io 2023-07-10 22:35:09 -03:00
anovazzi1
c0aa19c47e removed console.log 2023-07-10 22:34:10 -03:00
Lucas Oliveira
4e8ee49c96 Codacy fixes 2023-07-10 22:32:57 -03:00
Gabriel Luiz Freitas Almeida
c77674b171 🐛 fix(chains.py): hide the "verbose" field in the frontend node template to improve user experience 2023-07-10 21:32:43 -03:00
anovazzi1
5d2b8425ba Merge branch 'form_io' of personal:logspace-ai/langflow into form_io 2023-07-10 20:45:02 -03:00
Igor Carvalho
bc26d65582 Merge branch 'form_io' of github.com:logspace-ai/langflow into form_io 2023-07-10 20:36:28 -03:00
Igor Carvalho
657c64b5b9 style(codeAreaComponent && promptAreaComponent): Change disabled inputs border and placeholder color 2023-07-10 20:35:15 -03:00
Lucas Oliveira
3285aa5cc3 Fixed scroll glitch on code block 2023-07-10 20:19:38 -03:00
Lucas Oliveira
d0be105055 Fixed code area saving when not supposed to 2023-07-10 19:48:04 -03:00
Lucas Oliveira
07e6b137c4 Fixed display prompt showing when there is no template 2023-07-10 19:45:12 -03:00
Igor Carvalho
e438f5a2a6 refactor(parameterComponent): Make modal disabled inputs look like other disabled inputs 2023-07-10 19:35:54 -03:00
anovazzi1
6b17215a7b removing edges after remove handle on prompt 2023-07-10 19:34:19 -03:00
Lucas Oliveira
46e59a31d8 Merge branch 'form_io' of github.com:logspace-ai/langflow into form_io 2023-07-10 19:26:15 -03:00
Lucas Oliveira
20644a83bc Added placeholder message when a chat key does not exist 2023-07-10 19:24:02 -03:00
anovazzi1
b6aa4d9449 Merge branch 'form_io' of personal:logspace-ai/langflow into form_io 2023-07-10 18:46:52 -03:00
anovazzi1
af41be13a6 update template bug 2023-07-10 18:46:22 -03:00