Commit Graph

17 Commits

Author SHA1 Message Date
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
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
sarango
16b37fff1d Fix to LocalCache add method, created integration test for it 2023-04-12 21:49:23 +12: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
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