Commit graph

12,533 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
0358166b91 refactor: Update APIRequestComponent to use DataInput for headers and body fields 2024-06-20 21:27:38 -03:00
Gabriel Luiz Freitas Almeida
eeb3077b6f refactor: Improve endpoint uniqueness check in create_flow function 2024-06-20 21:27:37 -03:00
Gabriel Luiz Freitas Almeida
29759f2c3e refactor: Rename test_record.py to test_data_class.py and update imports and references accordingly 2024-06-20 21:27:37 -03:00
Gabriel Luiz Freitas Almeida
bcfe399df1 refactor: Update create_or_update_starter_projects to use await keyword for consistency 2024-06-20 21:27:37 -03:00
Gabriel Luiz Freitas Almeida
4e705b8af1 refactor: Update parameterComponent to disable editing when disabled prop is true 2024-06-20 21:27:37 -03:00
italojohnny
628e78959d fix union-attr error reported by mypy 2024-06-20 21:06:54 -03:00
Gabriel Luiz Freitas Almeida
b7154f470a fix path to data folder 2024-06-20 19:08:40 -03:00
Gabriel Luiz Freitas Almeida
86dfeb7eff refactor: Update langflow schema field module to use consistent type hinting for better clarity and consistency 2024-06-20 19:05:34 -03:00
Gabriel Luiz Freitas Almeida
f0386ea6ec refactor: Update logs variable type annotation in build_logs method for better clarity and consistency 2024-06-20 19:05:27 -03:00
Gabriel Luiz Freitas Almeida
d0bf57fc91 refactor: Update langflow schema message module to use ChatPromptTemplate for generating prompt template 2024-06-20 19:05:21 -03:00
Gabriel Luiz Freitas Almeida
df3c275db8 refactor: Update langflow schema data module to use BaseMessage instead of HumanMessage or SystemMessage 2024-06-20 19:05:16 -03:00
Gabriel Luiz Freitas Almeida
6e524c4bf9 refactor: Update SourceHandle baseClasses field to use default_factory for better consistency 2024-06-20 19:01:47 -03:00
Gabriel Luiz Freitas Almeida
86ec6722cd refactor: Update FrontendNode validate_attributes method to check for overlap between input and output names 2024-06-20 19:01:40 -03:00
Gabriel Luiz Freitas Almeida
93ea76150f refactor: Fix type hint for _logs attribute in CustomComponent class 2024-06-20 18:59:20 -03:00
Gabriel Luiz Freitas Almeida
b99ff9f88e refactor: Add input validation for None values in Component class 2024-06-20 18:59:14 -03:00
Gabriel Luiz Freitas Almeida
383229db73 refactor: Update WebhookComponent to use type hinting for message variable 2024-06-20 18:59:07 -03:00
Gabriel Luiz Freitas Almeida
77e1122782 🐛 (component.py): fix type hint for map_inputs method parameter to match the imported InputTypes class for better clarity and consistency 2024-06-20 18:56:49 -03:00
Gabriel Luiz Freitas Almeida
d62362e006 refactor: Update frontend_node validate method name for better clarity and consistency 2024-06-20 18:56:33 -03:00
Gabriel Luiz Freitas Almeida
d4e5b45237 ♻️ (component.py): refactor import statement to improve readability and maintainability
♻️ (component.py): refactor method variable type annotation for better clarity and consistency
2024-06-20 18:56:18 -03:00
Gabriel Luiz Freitas Almeida
3422cbd8e1 refactor: Update Vertex class to use type hinting for required_inputs and optional_inputs 2024-06-20 18:52:21 -03:00
Gabriel Luiz Freitas Almeida
7f6aebb490 refactor: Add output_name parameter to stop method in CustomComponent 2024-06-20 18:52:15 -03:00
Gabriel Luiz Freitas Almeida
4eec44e9a8 refactor: Fix conditional check in Graph.mark_branch method 2024-06-20 18:48:53 -03:00
Gabriel Luiz Freitas Almeida
bb08ade8e5 refactor: Update Component class to handle flow_id in Message objects 2024-06-20 18:48:45 -03:00
Gabriel Luiz Freitas Almeida
1b89ac2d73 refactor: Update RecursiveCharacterTextSplitterComponent to use type hinting for separators and chunk_size 2024-06-20 18:47:02 -03:00
Gabriel Luiz Freitas Almeida
a01b98e700 refactor: Remove unused import statement in model_specs/__init__.py 2024-06-20 18:47:02 -03:00
Gabriel Luiz Freitas Almeida
69146c682e refactor: Update CacheService to use generic types for locks 2024-06-20 18:47:02 -03:00
Gabriel Luiz Freitas Almeida
5be733e68c refactor: Update SelfQueryRetriever to handle non-string query types 2024-06-20 18:47:02 -03:00
Gabriel Luiz Freitas Almeida
f72eda81b5 refactor: Update Weaviate.py import statement to use type hinting for weaviate module 2024-06-20 18:47:02 -03:00
italojohnny
19bd88b8f9 fix arg-type error reported by mypy 2024-06-20 18:35:18 -03:00
cristhianzl
cd49b2e55a Merge branch 'two_edges' of https://github.com/langflow-ai/langflow into two_edges 2024-06-20 18:30:16 -03:00
cristhianzl
fac5c75fe6 (tests): update locators in end-to-end tests for chat, dropdown, and file upload components
 (tests): update locators and tooltips in end-to-end tests for filterEdge
 (tests): add random name generation in store.spec.ts for unique flow names
 (tests): update locators in textInputOutput.spec.ts for consistency

 (twoEdges.spec.ts): update test to click correct icon-Eye element and remove redundant checks
2024-06-20 18:30:11 -03:00
italojohnny
55cdff818e fix no-redef error reported by mypy 2024-06-20 18:28:48 -03:00
Gabriel Luiz Freitas Almeida
a9fc3ea5f7 refactor: Update PineconeVectorStoreComponent build_vector_store return type to Pinecone 2024-06-20 18:23:41 -03:00
Gabriel Luiz Freitas Almeida
1935029f66 refactor: Update EmbedComponent build method return type to Data 2024-06-20 18:23:36 -03:00
Gabriel Luiz Freitas Almeida
96f77878c1 refactor: Update CohereEmbeddingsComponent to use type hinting for CohereEmbeddings return value 2024-06-20 18:23:31 -03:00
Gabriel Luiz Freitas Almeida
c811e5f045 apply ruff 2024-06-20 18:21:56 -03:00
italojohnny
954c703cd8 fix arg-type error reported by mypy 2024-06-20 18:21:17 -03:00
Gabriel Luiz Freitas Almeida
6b3a8b69bc refactor: Update AnthropicModelComponent to handle ImportError gracefully 2024-06-20 18:18:09 -03:00
Gabriel Luiz Freitas Almeida
ac627e831f refactor: Update OpenAIModelComponent to include seed in model_kwargs 2024-06-20 18:18:04 -03:00
Gabriel Luiz Freitas Almeida
de0657acf3 refactor: Update langchain-mongodb package to version 0.1.6 2024-06-20 18:09:32 -03:00
Gabriel Luiz Freitas Almeida
75836a478c refactor: Remove unused build_base_retriever method from vector store components 2024-06-20 18:09:18 -03:00
Gabriel Luiz Freitas Almeida
43058045eb refactor: Update LCModelComponent to use BaseMessage instead of HumanMessage and SystemMessage 2024-06-20 18:09:10 -03:00
Gabriel Luiz Freitas Almeida
7e92f74f28 refactor: Update data.py to use a copy of the data dictionary in the to_lc_message method 2024-06-20 18:00:33 -03:00
italojohnny
7704c2e302 fix arg-type error reported by mypy 2024-06-20 17:56:54 -03:00
italojohnny
6903eca138 fix arg-type error reported by mypy 2024-06-20 17:22:36 -03:00
italojohnny
2212458bef fix return value error reported by mypy 2024-06-20 17:12:53 -03:00
Gabriel Luiz Freitas Almeida
f8ce1331b9 refactor: Remove unused text_response method from model components 2024-06-20 16:35:00 -03:00
Gabriel Luiz Freitas Almeida
29ba8051e9 format 2024-06-20 16:33:20 -03:00
Gabriel Luiz Freitas Almeida
d1d4b6f42d refactor: Implement _get_exception_message in LCModelComponent 2024-06-20 16:32:31 -03:00
cristhianzl
1297d3b892 💄 (sideBarFolderButtons): adjust spacing and icon button size for better UI consistency 2024-06-20 16:29:56 -03:00