Commit Graph

2212 Commits

Author SHA1 Message Date
38da096245 🐛 fix(base.py): rename _remove_invalid_nodes() to _validate_nodes() for clarity and accuracy
🔥 chore(base.py): remove unnecessary check for single node and no edges in _validate_nodes()
🔥 chore(base.py): remove unused import statement
🔥 chore(base.py): remove unused _validate_node() method
🔥 chore(base.py): remove unused import statement
2023-07-13 15:01:08 -03:00
f2724f1116 🐛 fix(tabsContext.tsx): update stroke color of edges to use a shorter hex code for better readability
🐛 fix(tabsContext.tsx): update stroke color of edges to use a consistent color code for better consistency
2023-07-13 14:34:28 -03:00
0e40bb0a87 🐛 fix(index.css): swap colors for chat bot and chat user icons to match their respective roles 2023-07-13 13:37:33 -03:00
36844cdcdb 🔧 fix(constants.tsx): reduce MAX_WORDS_HIGHLIGHT from 110 to 79 to limit the number of highlighted words in tooltips
🔥 chore(genericModal/index.tsx): remove console.log statement
2023-07-13 12:17:22 -03:00
fe2525750e 🔧 chore(constants.tsx): add constant MAX_WORDS_HIGHLIGHT with a value of 110 for the maximum number of words to highlight in tooltips
🔧 chore(index.css): add CSS class .code-nohighlight with different max-height value for tooltips with fewer words to display
🔧 chore(genericModal/index.tsx): add logic to dynamically apply CSS class .code-nohighlight to tooltips with fewer words to display
2023-07-13 11:37:02 -03:00
cc11213a0f 🎨 style(index.css): update color variables for chat bot and user icons for better visual distinction
🎨 style(index.css): update class names for code block modal span and button for better readability
🎨 style(index.css): update class name for code highlight block to limit max height
🐛 fix(chatMessage/index.tsx): update max width classes for markdown content to improve responsiveness
🐛 fix(genericModal/index.tsx): add missing useRef declarations for divRef and divRefPrompt
🐛 fix(genericModal/index.tsx): update class name for code highlight textarea to fix styling issue
🐛 fix(genericModal/index.tsx): add missing ref prop to Textarea component
🐛 fix(genericModal/index.tsx): add missing ref prop to div element for prompt variables
🐛 fix(genericModal/index.tsx): add missing ref prop to div element for prompt variables
2023-07-13 10:53:04 -03:00
28a8b1f1da change input to border-border 2023-07-13 01:15:18 -03:00
5727dbde8f add border-border to input-edit 2023-07-13 01:09:15 -03:00
049ba108bb fix: LangFlow -> Langflow 2023-07-12 19:30:37 -03:00
3b41e189d3 Chat behavior fixed when there is no input variables empty 2023-07-11 23:04:36 -03:00
fcfe927255 changed separator 2023-07-11 22:53:41 -03:00
6a9c00bd3a Merge branch 'dev' of github.com:logspace-ai/langflow into dev 2023-07-11 22:51:17 -03:00
6ba70af2b9 added padding on highlight 2023-07-11 22:50:12 -03:00
717c8400fe change dark primary color 2023-07-11 22:42:35 -03:00
562792938e Fixed notification center styling 2023-07-11 22:32:19 -03:00
fb10a0d5f4 Fixed UI of Prompt Modal on Generic Modal 2023-07-11 22:29:00 -03:00
4ece1f13ff Fixed button appearing at start 2023-07-11 21:35:31 -03:00
9ec48cbd17 Fixed generic modal to use baseModal and fixed inputVariables to show on footer 2023-07-11 21:33:13 -03:00
7979f3c02e Fixed constant not used correctly 2023-07-11 21:08:21 -03:00
aba0ed40da Edit Prompt modal and other generic modals spacing fixed 2023-07-11 21:06:35 -03:00
d15c5636a2 Fixed bug on chatMessage 2023-07-11 20:33:46 -03:00
2c1203c437 Fixed colors on formModal 2023-07-11 20:20:21 -03:00
0471e99a86 Fixed useEffect bug 2023-07-11 19:58:33 -03:00
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
3f147286ce fix bg of chat input 2023-07-11 18:29:10 -03:00
f05285e703 added background to fix bug on linux 2023-07-11 17:24:08 -03:00
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
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
3de654c8df refactor(google.svg): Add better google svg icon 2023-07-11 17:13:55 -03:00
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
c312c56b14 Merge branch 'form_io' of github.com:logspace-ai/langflow into form_io 2023-07-11 15:55:17 -03:00
18f2c58c72 refactor: Add exportModal tailwind constants and remove dark classes 2023-07-11 15:55:05 -03:00
63e8e927e7 fix(parameterComponent): add null check before calling cleanEdges to prevent error when reactFlowInstance is null 2023-07-11 15:29:48 -03:00
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
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
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
7a7efc2afa prompt template bug fix 2023-07-11 10:52:25 -03:00
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
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
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
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
8bca40e4af Merge remote-tracking branch 'origin/dev' into form_io 2023-07-10 23:29:41 -03:00
0df969ac9d Change chat disabled color 2023-07-10 22:58:27 -03:00
dccf83ff17 Merge branch 'form_io' of https://github.com/logspace-ai/langflow into form_io 2023-07-10 22:55:49 -03:00
49de361b21 Merge branch 'form_io' of github.com:logspace-ai/langflow into form_io 2023-07-10 22:55:54 -03:00
cf278a4c74 merge fix 2023-07-10 22:55:42 -03:00
786d089eb3 Merge branch 'form_io' of personal:logspace-ai/langflow into form_io 2023-07-10 22:55:17 -03:00
9331c9b9c0 Fix copy paste on text area 2023-07-10 22:54:50 -03:00
51c3bf3b8f fix dark mode for connections 2023-07-10 22:54:06 -03:00
9c1115b512 Merge branch 'form_io' of github.com:logspace-ai/langflow into form_io 2023-07-10 22:45:47 -03:00