Commit Graph

37 Commits (a17a850b2570f91a6ee76178830ea444232ab137)

Author SHA1 Message Date
Alrik Olson 8186ccb56a formatting 2023-04-13 11:36:48 -07:00
Alrik Olson 9b256a3dd5 Merge branch 'master' into prompt-generator 2023-04-13 10:54:39 -07:00
Richard Beales 0ba2956ee4
Merge pull request #1014 from drikusroor/fix-flake8-issues-pt-2
Fix flake8 issues pt. 2 (Add E231 & E302 flake8 rules)
2023-04-13 17:56:06 +01:00
Alrik Olson 1bb056e9c9 Merge branch 'master' into prompt-generator 2023-04-13 07:56:42 -07:00
digger-yu 0c7b7e5de8
Update test_json_parser.py
Optimize part of the code to maintain uniformity
2023-04-13 18:43:32 +08:00
Drikus Roor d1ea6cf002 lint: Fix all E302 linting errors 2023-04-13 10:50:51 +02:00
Drikus Roor 4afd0a3714 lint: Fix E231 flake8 linting errors 2023-04-13 10:50:27 +02:00
Alrik Olson a3eedfcd2f Merge branch 'master' into prompt-generator 2023-04-12 19:48:33 -07:00
Itamar Friedman 3e53e976a5 flake8 style 2023-04-13 00:06:23 +03:00
Itamar Friedman bf3c76ced7 flake8 style 2023-04-13 00:04:08 +03:00
Itamar Friedman 9f972f4ee9 flake8 style 2023-04-13 00:00:33 +03:00
Itamar Friedman a40ccc1e5d flake8 style 2023-04-12 23:53:40 +03:00
Itamar Friedman 54478b35f2 Merge branch 'master' into browse_scrape_links_test_and_validate 2023-04-12 23:51:53 +03:00
Drikus Roor 1f837968ff fix: Fix flake8 errors based on the flake8 command with a narrower definition of errors 2023-04-12 22:12:25 +02:00
Itamar Friedman c63645cbba redo suggested changes. move unit test files to the fitting directory 2023-04-12 22:41:23 +03:00
Itamar Friedman 7c0c896600 Merge branch 'master' into browse_scrape_links_test_and_validate 2023-04-12 22:31:51 +03:00
Richard Beales 7e3ff66494
Merge pull request #913 from chozzz/bugfix-823
Bugfix for #840 - Local memory fix
2023-04-12 20:07:50 +01:00
Drikus Roor d780988554 chore: Add new lines to end of files 2023-04-12 20:21:42 +02:00
Richard Beales 364e2a4ba1
Merge branch 'master' into add-unit-tests-workflow 2023-04-12 18:14:37 +01:00
Alrik Olson 2ef9928a2e Merge remote-tracking branch 'origin/master' into prompt-generator 2023-04-12 07:33:36 -07:00
sarango 16b37fff1d Fix to LocalCache add method, created integration test for it 2023-04-12 21:49:23 +12:00
Itamar Friedman 2ec42bf3e8 removing compliant whitespace 2023-04-12 12:21:53 +03:00
Drikus Roor d8f9d1df98 fix: Fix json_parsers tests 2023-04-12 10:16:42 +02:00
Drikus Roor ed120c3a39 fix: Fix browse scrape test 2023-04-12 10:16:42 +02:00
Drikus Roor f34751a0c3 revert: Revert relative imports in scripts and fix imports in tests 2023-04-12 10:16:00 +02:00
Drikus Roor 28cf7c3f83 test: Add tests for config file 2023-04-12 10:16:00 +02:00
Drikus Roor d0ae72e63b refactor: Refactor imports to be compatible with unit tests 2023-04-12 10:16:00 +02:00
vadi 7736762b5a Fix #840 - Add defensive coding for local memory to load the JSON file that was gitignored at 54101c7997
- Added unit test placholder for local cache test
- Removed unused imports from local cache unit test placeholder
2023-04-12 16:38:53 +10:00
Alrik Olson 8bbfdeb04a Add unit tests for prompt generator class 2023-04-11 09:43:37 -07:00
Itamar Friedman 64c21ee8f7 browse: make scrape_links() & scrape_text() "status_code >= 400" error message the same 2023-04-11 11:40:52 +03:00
Itamar Friedman 2d5d0131bb browse: (1) apply validation also to scrape_links(), (2) add tests for scrape_links() 2023-04-11 11:17:07 +03:00
Andy Melnikov c9701a3302 Remove trailing whitespace throughout 2023-04-10 18:17:11 +02:00
Andy Melnikov 4a86da95f9 Remove trailing spaces throughout
This happens often in PRs so fixing this everywhere will make many PRs
mergeable as they won't include irrelevant whitespace fixes
2023-04-10 14:25:24 +02:00
Itamar Friedman 06f26cb29c remove dependency of unittest, use pytest 2023-04-10 08:19:41 +03:00
Itamar Friedman b0cb247b83 scrape_text: added tests + hande RequestException 2023-04-10 00:18:37 +03:00
Taylor Brown 3e587bc7fb Make the json_parser more robust
For some reason the bot keeps prefacing its JSON. This fixes it for now.
2023-04-02 18:50:51 -05:00
Taylor Brown 9ff7e5954b Make compatible with gpt-3.5
I made the json parsing more forgivable. I improved the prompt, using things I learned from: Koobah/Auto-GPT
2023-04-02 16:39:17 -05:00