Commit graph

2,320 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
a8e620d89c Refactor user CRUD functions 2023-12-05 18:16:11 -03:00
Gabriel Luiz Freitas Almeida
fa9b7265ea Fix migration issue with default superuser 2023-12-05 18:16:06 -03:00
Gabriel Luiz Freitas Almeida
0a3921dd2d Refactor credential retrieval and listing methods 2023-12-05 18:16:02 -03:00
Gabriel Luiz Freitas Almeida
b1a4957e20 Refactor code and optimize imports 2023-12-05 18:15:57 -03:00
Gabriel Luiz Freitas Almeida
796854d9e6 Refactor flow read function 2023-12-05 18:15:52 -03:00
Gabriel Luiz Freitas Almeida
43036795be Refactor API endpoints and improve code structure 2023-12-05 18:15:46 -03:00
Gabriel Luiz Freitas Almeida
aee00ab07f Fix credential query in create_credential and
update_credential functions
2023-12-05 18:15:40 -03:00
Gabriel Luiz Freitas Almeida
811da0323d Fixes database table creation and adds profile
image column
2023-12-05 18:15:30 -03:00
Gabriel Luiz Freitas Almeida
62c053030b Refactor credential.py to use SQLModel's select
method
2023-12-05 18:00:59 -03:00
Gabriel Luiz Freitas Almeida
580f3a1e0d Merge remote-tracking branch 'origin/dev' into feature/store 2023-12-05 17:40:09 -03:00
Gabriel Luiz Freitas Almeida
1713f0a703 Update settings store flag in langflow/__main__.py 2023-12-05 17:36:59 -03:00
Gabriel Luiz Freitas Almeida
147a2e4097 Refactor store service module 2023-12-04 19:38:54 -03:00
Gabriel Luiz Freitas Almeida
96ce544582 🔧 fix(test_custom_component.py): fix import statement to match renamed function and module names
🔧 fix(test_custom_component.py): fix function calls to match renamed function names
2023-12-04 18:14:25 -03:00
Gabriel Luiz Freitas Almeida
a4b2cfef87 Update langflow custom component endpoints 2023-12-04 17:23:32 -03:00
Gabriel Luiz Freitas Almeida
53910dbce7 Fix type annotations and imports in code 2023-12-04 16:25:42 -03:00
Gabriel Luiz Freitas Almeida
ee8efdf6c5 Update pydantic import in AnthropicLLM.py 2023-12-04 16:25:42 -03:00
Gabriel Luiz Freitas Almeida
f29213a7c6 🐛 fix(api_key/model.py): make 'name' field nullable with a default value of None to allow for optional name values in ApiKeyBase model 2023-12-04 15:44:35 -03:00
Gabriel Luiz Freitas Almeida
c05108230e Fix database initialization issue 2023-12-04 15:44:35 -03:00
Gabriel Luiz Freitas Almeida
f1773a906c Fix database initialization issue and add delay
after upgrade
2023-12-04 15:44:34 -03:00
Gabriel Luiz Freitas Almeida
9a697362cb Add database migration scripts 2023-12-04 15:44:33 -03:00
Gabriel Luiz Freitas Almeida
98d5351d87 Fix anthropic_api_key handling in AnthropicLLM.py 2023-12-04 15:44:33 -03:00
Gabriel Luiz Freitas Almeida
24219594e5 Refactor user API endpoint 2023-12-04 15:44:31 -03:00
Gabriel Luiz Freitas Almeida
213c44abc5 Fix field_validator mode in FlowBase model 2023-12-04 15:44:31 -03:00
Gabriel Luiz Freitas Almeida
bf76ba660f Fix last_login_at default value 2023-12-04 15:44:30 -03:00
Gabriel Luiz Freitas Almeida
6afbd32621 Update AnthropicLLM to use BaseLanguageModel and
SecretStr
2023-12-04 15:44:26 -03:00
Gabriel Luiz Freitas Almeida
1c2d2402ba Update AnthropicLLM model name 2023-12-04 15:44:25 -03:00
anovazzi1
0f33313dae code format 2023-12-04 14:33:16 -03:00
Gabriel Luiz Freitas Almeida
f586142938 Ignore "repr" key when processing inputs
Unable to call the API locally #1171
2023-12-04 08:41:30 -03:00
Gabriel Luiz Freitas Almeida
3fbb93b2c3 Refactor langflow/processing/process.py 2023-12-04 08:40:48 -03:00
Gabriel Luiz Freitas Almeida
b43a22fbee Refactor langchain imports and update
llm_type_to_cls_dict
2023-12-02 14:00:56 -03:00
Gabriel Luiz Freitas Almeida
498e5b1508 Delete constants.py custom component 2023-12-02 14:00:50 -03:00
Gabriel Luiz Freitas Almeida
83a1255448 Refactor custom component code 2023-12-02 14:00:33 -03:00
Gabriel Luiz Freitas Almeida
7b5066e6b1 feat(store.py): add PATCH endpoint to update a component in the store
🐛 fix(service.py): add update method to StoreService class to handle PATCH requests for updating a component in the store
2023-12-01 22:06:46 -03:00
Gabriel Luiz Freitas Almeida
79df6d883a Refactor store service to include user search by
username
2023-12-01 21:58:09 -03:00
anovazzi1
bc7e612cfb code format 2023-12-01 18:19:11 -03:00
Gabriel Luiz Freitas Almeida
9cf6e93fe5 Add utility functions for API and component
validation
2023-12-01 17:54:27 -03:00
Gabriel Luiz Freitas Almeida
e8830901ab Add validate_is_component function to read_flows 2023-12-01 17:54:15 -03:00
Gabriel Luiz Freitas Almeida
2a8c972d49 Fix autogenerate diffs error handling 2023-12-01 17:02:37 -03:00
Gabriel Luiz Freitas Almeida
dcefb8363c Fix migration error and initialize database in
utils.py
2023-12-01 16:37:11 -03:00
Gabriel Luiz Freitas Almeida
8f04139ddd Fix migration and add confirmation prompt 2023-12-01 16:30:59 -03:00
Gabriel Luiz Freitas Almeida
ab212a046f Fix migration issue with autogenerate diffs 2023-12-01 16:30:54 -03:00
Gabriel Luiz Freitas Almeida
be5cdc9c47 Remove store_api_key and is_component columns from
user and flow tables
2023-12-01 16:30:43 -03:00
Gabriel Luiz Freitas Almeida
cb6228cea1 Fix imports and initialize services with
fix_migration option
2023-12-01 16:30:35 -03:00
Gabriel Luiz Freitas Almeida
163ef6973b Fix database initialization and migration 2023-12-01 16:30:26 -03:00
Gabriel Luiz Freitas Almeida
6aa1698383 Fix ValueError in Vertex class 2023-12-01 16:27:15 -03:00
Gabriel Luiz Freitas Almeida
1bdbbd12c0 Fix store_api_key column type 2023-12-01 15:46:16 -03:00
Gabriel Luiz Freitas Almeida
9a5b57a65a 🔥 refactor(types.py): remove unused import and variable 'custom_component_creator' to improve code cleanliness and maintainability 2023-12-01 15:12:19 -03:00
Gabriel Luiz Freitas Almeida
13135d3948 Update langflow imports in validate.py 2023-12-01 15:10:34 -03:00
Gabriel Luiz Freitas Almeida
4d6973ad19 Remove redundant base types from
CUSTOM_COMPONENT_SUPPORTED_TYPES
2023-12-01 15:10:24 -03:00
Gabriel Luiz Freitas Almeida
0bff0407b8 Remove unused import and commented code 2023-12-01 15:10:16 -03:00