Gabriel Luiz Freitas Almeida
a9f6142820
Update inputs now that extras are forbid
2024-06-19 18:53:02 -03:00
Cezar Vasconcelos
0543934eec
Merge branch 'two_edges' of https://github.com/langflow-ai/langflow into two_edges
2024-06-19 21:12:13 +00:00
Cezar Vasconcelos
f93bdf8cd8
refactor: Update HuggingFaceEmbeddingsComponent and HuggingFaceInferenceAPIEmbeddingsComponent to use new Inputs/Outputs format
2024-06-19 21:12:07 +00:00
Gabriel Luiz Freitas Almeida
8e54c87cf3
refactor: Update model_config in BaseInputMixin to forbid extra fields
2024-06-19 18:11:27 -03:00
Cezar Vasconcelos
a180589f79
refactor: Update AmazonBedrockEmbeddingsComponent to use new Inputs/Outputs format
2024-06-19 21:09:54 +00:00
Cezar Vasconcelos
7884dcff8a
refactor: AzureOpenAIEmbeddingsComponent to use new Inputs/Outputs format
2024-06-19 21:09:42 +00:00
Cezar Vasconcelos
4a0f4af9a7
refactor: Update OllamaEmbeddingsComponent to use new Inputs/Outputs format
2024-06-19 21:06:07 +00:00
Cezar Vasconcelos
4a201d478c
refactor: Update VertexAIEmbeddingsComponent to use new Inputs/Outputs format
2024-06-19 21:04:46 +00:00
Cezar Vasconcelos
5d21466525
refactor: Cohere and Mistral Embeddings, new Inputs/Outputs format
2024-06-19 20:59:12 +00:00
Cezar Vasconcelos
d287711f1b
Merge branch 'two_edges' of https://github.com/langflow-ai/langflow into two_edges
2024-06-19 20:57:02 +00:00
Cezar Vasconcelos
3b6060b243
fix: API Request to use new fields and add DataInputs for Body,Header and Query
2024-06-19 20:54:58 +00:00
Lucas Oliveira
acd2e4daed
Fixed content not being colored on genericModal
2024-06-19 17:37:49 -03:00
anovazzi1
036f77fde2
Fix issue with file validation in Message class
2024-06-19 17:32:52 -03:00
Gabriel Luiz Freitas Almeida
3d492db3d9
Fix issue with file validation in Message class
2024-06-19 16:54:34 -03:00
Gabriel Luiz Freitas Almeida
ebb8275bf2
Fix variable name in PromptComponent build_prompt method
2024-06-19 16:54:11 -03:00
anovazzi1
5ef3b70385
update cleanEdges
2024-06-19 16:31:05 -03:00
Gabriel Luiz Freitas Almeida
aec4292239
Fix issue with file validation in Message class
2024-06-19 16:01:56 -03:00
Gabriel Luiz Freitas Almeida
ba8754a785
Fix field validation for files in Message class
2024-06-19 16:01:40 -03:00
Lucas Oliveira
c31cf6fd1e
Fixed handle tooltip being on the wrong place
2024-06-19 15:46:17 -03:00
Lucas Oliveira
20b7b6acd6
Fixed buttons on nodes being draggable
2024-06-19 15:37:46 -03:00
Lucas Oliveira
4fcd7027ad
implemented Refresh button on node toolbar dropdown that appears when the user edits and the component is outdated.
2024-06-19 15:12:50 -03:00
Lucas Oliveira
d559a61793
Fixed name not editable on editFlowSettingsComponent
2024-06-19 14:44:13 -03:00
Lucas Oliveira
59477dd8e7
Changed description height
2024-06-19 14:39:06 -03:00
Lucas Oliveira
7b590f24a5
Fixed eye not being gray when connected to edge
2024-06-19 14:35:44 -03:00
Lucas Oliveira
faa27183df
Fixed textarea component being clickable when the handle is present
2024-06-19 14:35:43 -03:00
Lucas Oliveira
94fec39865
Fixed type errors on GenericNode
2024-06-19 14:35:43 -03:00
Lucas Oliveira
ee0eee5346
Added status inactive tooltip to status icon
2024-06-19 14:34:21 -03:00
Lucas Oliveira
827d3bd746
Fixed inactive node styling, changed it to status icon
2024-06-19 14:34:21 -03:00
Lucas Oliveira
11281c509c
removed console.log
2024-06-19 14:34:21 -03:00
Gabriel Luiz Freitas Almeida
1367212412
refactor: Update LogType to include ErrorLogType
...
The LogType in the schema module has been updated to include the ErrorLogType. This allows for more detailed logging of error messages, including the error message itself and the stack trace. This change improves the accuracy and usefulness of error logging in the application.
2024-06-19 12:24:02 -03:00
cristhianzl
4249170fa9
add tests to basic examples
2024-06-19 11:42:23 -03:00
Gabriel Luiz Freitas Almeida
27594e03dc
refactor: Ensure data_input is always a list in RecursiveCharacterTextSplitterComponent
2024-06-19 11:32:09 -03:00
Gabriel Luiz Freitas Almeida
29052746a1
refactor: Update Component class to support dynamic attributes
...
The Component class in the custom_component module has been updated to support dynamic attributes. This allows users to access attributes that are not explicitly defined in the class. The __getattr__ method has been implemented to handle attribute retrieval. This change improves flexibility and extensibility of the Component class.
2024-06-19 11:32:02 -03:00
anovazzi1
ab9dc0dcd5
add scroll to error tooltip
2024-06-19 11:13:56 -03:00
Gabriel Luiz Freitas Almeida
4f7d453abc
refactor: Ensure data_input is always a list in RecursiveCharacterTextSplitterComponent
...
To prevent potential errors, this refactor ensures that the `data_input` attribute in the `RecursiveCharacterTextSplitterComponent` class is always a list. If it is not already a list, it is converted to a list before processing. This change improves the reliability and consistency of the code.
2024-06-19 10:54:32 -03:00
anovazzi1
f4ef1d9007
Apply Prettier formatting
2024-06-19 13:51:44 +00:00
anovazzi1
481870f7bd
add fitGridWidth autoSize Strategy
2024-06-19 10:50:19 -03:00
Gabriel Luiz Freitas Almeida
929bac56ed
refactor: Remove lock parameter from build_vertex function
2024-06-19 10:37:26 -03:00
ogabrielluiz
49a7860aa5
Apply Ruff formatting
2024-06-19 13:17:38 +00:00
ogabrielluiz
c62acbb80d
Apply Prettier formatting
2024-06-19 13:02:41 +00:00
Gabriel Luiz Freitas Almeida
cedab5c9d0
Merge remote-tracking branch 'origin/dev' into two_edges
2024-06-19 09:50:15 -03:00
Nicolò Boschi
47e63d1d02
fix: graph could re-run input vertices twice and override the input value ( #2219 )
2024-06-19 14:47:39 +02:00
Gabriel Luiz Freitas Almeida
58d596b8e3
Merge remote-tracking branch 'origin/dev' into two_edges
2024-06-19 09:37:58 -03:00
mmdsnb
f18ca3d8a1
BUG FIX 2152
...
When the cache expires, deleting the key from the cache will attempt to acquire a lock, which is not reentrant at this point, leading to suspension.
2024-06-19 05:08:32 -07:00
ogabrielluiz
6a6d0e7389
fix: rearrange imports
2024-06-19 01:25:48 -03:00
ogabrielluiz
be88c25dac
Add io module for easier access to Inputs and Outputs
2024-06-19 01:22:59 -03:00
Rodrigo
40fd956c9c
refactor: Update URLComponent and ParseDataComponent
...
This commit updates the URLComponent and ParseDataComponent classes in the URL.py and ParseData.py files respectively.
In URLComponent, the 'value' attribute in the 'urls' input has been removed, improving code clarity.
In ParseDataComponent, the 'value' attribute in the 'sep' input has been changed from '---' to '\n', enhancing the functionality of the component.
These changes optimize the code logic and ensure consistency in the codebase.
2024-06-19 01:13:26 -03:00
ogabrielluiz
bac6a8cdff
Merge remote-tracking branch 'origin/dev' into two_edges
2024-06-19 01:11:38 -03:00
ogabrielluiz
2db30b42fc
refactor: Update TextOutputComponent to set status with input value
...
This commit updates the TextOutputComponent class in the TextOutput.py file to set the status attribute with the input value. This change improves the code logic and ensures that the status is properly assigned.
2024-06-19 01:08:31 -03:00
ogabrielluiz
e1686e34df
refactor: Update multiline property to true in Langflow Prompt Chaining.json
...
This commit updates the multiline property to true in the Langflow Prompt Chaining.json file. The multiline property was previously set to false, but it has been changed to true to allow for multiline input in certain fields. This change improves the functionality and flexibility of the prompt chaining feature.
2024-06-19 01:06:40 -03:00