Commit graph

420 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
ece2ce5bd7 Add helper component tests 2024-03-09 23:39:09 -03:00
Gabriel Luiz Freitas Almeida
67bccdc753
Refactor cache service and fix async issues (#1512) 2024-03-09 22:55:56 -03:00
Gabriel Luiz Freitas Almeida
c0cbb0776e Add assertions for record text and source in test_url_component() 2024-03-08 23:43:26 -03:00
Gabriel Luiz Freitas Almeida
8139b743c2 Fix URLComponent build method and update test_url_component 2024-03-08 23:41:35 -03:00
Gabriel Luiz Freitas Almeida
2207b78fff Refactor test cases and add new test for URLComponent 2024-03-08 18:08:08 -03:00
Gabriel Luiz Freitas Almeida
522bd304e8 Format 2024-03-08 17:42:22 -03:00
Gabriel Luiz Freitas Almeida
ecdc0be825 Refactor directory_component.build() and add tests for loading projects and mdx files 2024-03-08 17:08:19 -03:00
Gabriel Luiz Freitas Almeida
56731ad08c Add tests for directory component and multithreading 2024-03-08 17:08:17 -03:00
Gabriel Luiz Freitas Almeida
b2c3b3b6d2 Add first api tests 2024-03-08 14:29:17 -03:00
Gabriel Luiz Freitas Almeida
1363f387e9 Refactor tests and add new test file for data components 2024-03-08 13:43:33 -03:00
Gabriel Luiz Freitas Almeida
39434eadc4 Formatting 2024-03-08 11:36:32 -03:00
Gabriel Luiz Freitas Almeida
c7ad808c9e Refactor test_loading.py to use Graph instead of Chain 2024-03-08 10:23:55 -03:00
Gabriel Luiz Freitas Almeida
7ec33d3fe0 Add test for tweak with no node id 2024-03-08 10:23:48 -03:00
Gabriel Luiz Freitas Almeida
af5933524a Remove unused test files 2024-03-08 10:23:43 -03:00
Gabriel Luiz Freitas Almeida
544f4e8265 Add initial setup tests 2024-03-07 09:57:34 -03:00
Gabriel Luiz Freitas Almeida
4daf4ffc81 Fix variable name and simplify if statements 2024-03-06 14:56:36 -03:00
Gabriel Luiz Freitas Almeida
8e6c38f195 Merge remote-tracking branch 'origin/dev' into zustand/io/migration 2024-02-29 16:21:23 -03:00
Gabriel Luiz Freitas Almeida
ba23f93463
Refactor code and fix database issues (#1484)
* Refactor chat.py for improved readability and maintainability

* Add imports and fix formatting issues

* Refactor database connection in Alembic env.py

* Add nullable columns to tables and fix foreign key constraint

* Update sqlalchemy logging level to DEBUG in alembic.ini

* Add connection and inspector objects for database reflection

* Refactor alembic initialization and migration process

* Refactor version option in main_entry_point function

* Remove pre-commit hook and format code

* Fix database inspector type hinting

* Add unique constraints and fix credential table
2024-02-29 15:22:14 -03:00
Gabriel Luiz Freitas Almeida
f8fe58bd08 Fix formatting and icon naming conventions 2024-02-28 21:50:10 -03:00
Gabriel Luiz Freitas Almeida
0c24390d9a Comment out tests until fixed 2024-02-28 20:32:44 -03:00
Gabriel Luiz Freitas Almeida
23fbb18846 Refactor code to improve performance and readability 2024-02-28 20:15:30 -03:00
Gabriel Luiz Freitas Almeida
d0f10e107e Fix tests 2024-02-28 13:17:40 -03:00
Gabriel Luiz Freitas Almeida
5b0bf9e116 Merge remote-tracking branch 'origin/dev' into zustand/io/migration 2024-02-15 18:39:59 -03:00
Gabriel Luiz Freitas Almeida
de1c00c33f Update imports and deactivate test 2024-02-15 17:24:57 -03:00
Gabriel Luiz Freitas Almeida
e1f6db660a Update import statements in test_custom_types.py 2024-02-09 08:47:22 -03:00
Gabriel Luiz Freitas Almeida
6854c25dae Merge remote-tracking branch 'origin/dev' into zustand/io/migration 2024-02-06 14:21:50 -03:00
Gabriel Luiz Freitas Almeida
392b81b519 Reapply "Refactor state management to use Zustand, migrate components to CustomComponent and other fixes"
This reverts commit f3b3d2cf68.
2024-02-05 19:02:34 -03:00
Gabriel Luiz Freitas Almeida
f3b3d2cf68
Revert "Refactor state management to use Zustand, migrate components to CustomComponent and other fixes" 2024-02-05 18:29:03 -03:00
Gabriel Luiz Freitas Almeida
1b867586c2 Update OpenAI models and options 2024-02-05 18:17:23 -03:00
Gabriel Luiz Freitas Almeida
c0c64c99c9 Update imports to use langchain_core.documents 2024-02-01 09:37:37 -03:00
Gabriel Luiz Freitas Almeida
c08b277f15 Merge remote-tracking branch 'origin/dev' into zustand/io/migration 2024-01-31 17:54:51 -03:00
Gabriel Luiz Freitas Almeida
44696a9eb4 Refactor locustfile.py: Import modules and reorder code 2024-01-30 16:16:38 -03:00
Gabriel Luiz Freitas Almeida
4b697fc0df Remove vectorstore_creator import and test_vectorstore_template.py 2024-01-30 14:03:33 -03:00
Gabriel Luiz Freitas Almeida
4918f03032 Remove test_agents_template.py and update test_zero_shot_agent, test_json_agent, and test_csv_agent 2024-01-30 11:53:21 -03:00
Gabriel Luiz Freitas Almeida
9968a6b134 Add file upload, download, list, and delete operations 2024-01-28 12:01:08 -03:00
Gabriel Luiz Freitas Almeida
bcd0151e7b Add mime type validation for file download 2024-01-27 00:11:00 -03:00
Gabriel Luiz Freitas Almeida
6fd4ac1bb9 Refactor file deletion test in test_files.py 2024-01-26 23:03:55 -03:00
Gabriel Luiz Freitas Almeida
11c9a84cbe Refactor file operations tests 2024-01-26 22:50:52 -03:00
Gabriel Luiz Freitas Almeida
2e6ea1808d Add unit tests for file upload, download, list, and delete operations 2024-01-26 22:41:21 -03:00
Gabriel Luiz Freitas Almeida
dbf0a2a920 Refactor code and fix minor issues 2024-01-26 09:45:33 -03:00
Gabriel Luiz Freitas Almeida
fccf3eeb25 Fix session loading issues in test cases 2024-01-25 19:44:33 -03:00
Gabriel Luiz Freitas Almeida
103df34d0e Fix test_custom_component.py to call the correct method 2024-01-25 19:44:23 -03:00
Gabriel Luiz Freitas Almeida
abe4925cc3 Refactor imports and update function names 2024-01-25 16:17:40 -03:00
Gabriel Luiz Freitas Almeida
a41ada87ee Fix import and function name in test_loading.py 2024-01-25 16:17:20 -03:00
Gabriel Luiz Freitas Almeida
a76f90157e Refactor login tests and import statements 2024-01-25 16:17:13 -03:00
Gabriel Luiz Freitas Almeida
f527e0a3f1 Update import statement in test_process.py 2024-01-25 16:16:58 -03:00
Gabriel Luiz Freitas Almeida
033bd44412 Refactor imports in test_prompts_template.py 2024-01-25 16:16:40 -03:00
Gabriel Luiz Freitas Almeida
97fa69e535 Fix test_template.py: Update build_template_from_function and test_format_dict 2024-01-25 16:16:35 -03:00
Gabriel Luiz Freitas Almeida
8502898032 Refactor test_setup_superuser.py 2024-01-25 16:16:28 -03:00
Gabriel Luiz Freitas Almeida
b19b317e6b Refactor user tests and fix error handling 2024-01-25 16:16:15 -03:00