Maiko Bossuyt
3a2ccbd02f
Merge branch 'master' into add_website_memory
2023-04-12 23:18:09 +02: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
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
Richard Beales
0528aacfb7
Merge pull request #827 from PierreBastiani/user_input-quality_of_life
...
check for authorise 'y' without trailing space
2023-04-12 19:36:58 +01:00
Richard Beales
bc75c74eef
Merge pull request #957 from cryptidv/master
...
Adds a '--use-memory' flag to choose memory backend at runtime
2023-04-12 19:33:30 +01:00
Fabrice Hong
9f8b9db7bb
fix(global): fix wrong calls
2023-04-12 20:08:47 +02:00
Fabrice Hong
0f3c85335c
fix(logger): fix file handler not outputing DEBUG
2023-04-12 19:57:22 +02:00
Fabrice Hong
158c576a87
refactor(logger): rename the typewriter log function from 'log' to 'typewriter_log'
2023-04-12 19:57:17 +02:00
Fabrice Hong
862d44ea39
fix(logger): fix typewriter simulation doesn't work well with Typing spinner
2023-04-12 19:54:03 +02:00
Fabrice Hong
1f5049a9c4
doc(logger): added class documentation
2023-04-12 19:41:11 +02:00
Fabrice Hong
43c006d71c
feat(global): errors logs are logged as debug level and activated with program argument 'debug'
2023-04-12 19:41:08 +02:00
Richard Beales
0e004f5c14
Merge pull request #697 from Wladastic/fix-user-feedback-json-error
...
fix json parser
2023-04-12 18:22:47 +01:00
Richard Beales
364e2a4ba1
Merge branch 'master' into add-unit-tests-workflow
2023-04-12 18:14:37 +01:00
Richard Beales
9c9758c720
Merge pull request #700 from Rokniel/azure-deployment-additions
...
Add required env parameters for azure usage
2023-04-12 18:08:54 +01:00
Richard Beales
c98471e333
Merge pull request #685 from STRML/fix/json-parsing
...
Fix various JSON input bugs
2023-04-12 18:03:34 +01:00
Richard Beales
a7176cd229
Merge pull request #215 from slavakurilyak/security-and-robustness-improvements
...
Improve Security and Robustness in browse.py
2023-04-12 17:37:44 +01:00
Maiko Bossuyt
8baa0769b1
Update config.py
2023-04-12 18:03:59 +02:00
Maiko Bossuyt
a615e57061
Revert "Update main.py"
...
This reverts commit c785352ed2 .
2023-04-12 18:00:17 +02:00
Maiko Bossuyt
5bb551db95
add the url variable in the get_text_summary function to pass it to the memory
...
By sending the url along when calling browse.summarize_text, we can then add it along the chunk in memory.
2023-04-12 16:42:14 +02:00
Maiko Bossuyt
b20c0117c5
Add memory management to browse.py
...
- Change the way User-Agent is handle when calling requests to browse website
- Add chunk to memory before and after summary. We do not save the "summary of summaries" as this wasn't performing great and caused noise when the "question" couldn't be answered.
- Use the newly added config parameters for max_length and max_token
2023-04-12 16:38:49 +02:00
Maiko Bossuyt
c986e87135
Edit config Class to manage browse_website command chunk size and summary size
...
I added two new config parameters:
- browse_chunk_max_length: define the max_length of a chunk being sent to the memory and to FAST_LLM_MODEL for summarizing
- browse_summary_max_token: define the max_token passed to the model use for summary creation. Changing this can help with complex subject, allowing the agent to be more verbose in its attemps to summarize the chunk and the chunks summary.
I've also edited the way the user_agent is handle.
2023-04-12 16:36:27 +02:00
Samuel Reed
434f27fb51
Fix various JSON input bugs in correction
...
By not having correct_json(json_str) in the try/except,
it was still easily possible to throw Invalid JSON errors.
When responses were received with no JSON at all, parsing
would fail on attempting to locate the braces.
2023-04-12 10:34:33 -04:00
Maiko Bossuyt
c785352ed2
Update main.py
...
clean trailing whitespace
2023-04-12 16:23:09 +02:00
Eesa Hamza
ec6918ab48
Added some comments
2023-04-12 16:59:50 +03:00
Eesa Hamza
083ccb6bd3
Added a memory backend argument
2023-04-12 16:58:39 +03:00
Wlad
0105dd340a
Merge remote-tracking branch 'upstream/master' into fix-user-feedback-json-error
2023-04-12 15:01:24 +02:00
sarango
16b37fff1d
Fix to LocalCache add method, created integration test for it
2023-04-12 21:49:23 +12:00
Richard Beales
3ea57ca326
Merge pull request #888 from chozzz/bugfix
...
Bugfix for #803 - Debug mode
2023-04-12 10:06:04 +01:00
Wlad
c6605b06c5
Merge remote-tracking branch 'upstream/master' into fix-user-feedback-json-error
2023-04-12 10:58:09 +02:00
Wlad
4063483b87
add my fixes
2023-04-12 10:56:54 +02:00
Richard Beales
4dbf72159d
Merge pull request #542 from ccheney/attr-error-lower
...
command_name null check before calling .lower()
2023-04-12 09:54:05 +01:00
Richard Beales
a0cebb02db
Merge pull request #733 from keenborder786/gpt_4_only_option
...
GPT-4 Only Option
2023-04-12 09:36:45 +01:00
Richard Beales
56ed3eed9b
Merge pull request #871 from Legionof7/typofix
...
Changed spelling from "GTP" to "GPT". Also removed the 3 as this can run on GPT4.
2023-04-12 09:25:43 +01: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
d0ae72e63b
refactor: Refactor imports to be compatible with unit tests
2023-04-12 10:16:00 +02:00
Richard Beales
c765b345b4
Merge pull request #904 from endolith/typos
...
Fix some typos
2023-04-12 08:50:06 +01:00
Toran Bruce Richards
429317e6b2
Merge pull request #910 from dillweed/Elevenlabs-Voice-ID-ENV
...
Elevenlabs voice ID
2023-04-12 19:26:12 +12:00
Toran Bruce Richards
4c6f18bc59
Merge pull request #878 from Androbin/patch-1
...
Fix Spinner
2023-04-12 19:22:31 +12:00
Toran Bruce Richards
e4bb730826
Merge pull request #759 from BillSchumacher/fix-too-specific-except
...
Fix case where index throws value error.
2023-04-12 18:51:57 +12: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
vadi
bc6f34d7dc
Fixes #803
...
- Brings back debug mode
- Replaces all calls from cfg.debug to cfg.debug_mode that was updated on 5b2d6010dc
- Remove unnecessary config instance at main.py
2023-04-12 16:32:16 +10:00
Dill
f8438aabc2
Added option for custom elevenlabs voice IDs.
2023-04-11 21:37:03 -07:00
endolith
cf8b06f11f
Fix some typos
2023-04-12 00:11:24 -04:00
Chris Cheney
3ffff9f112
Merge branch 'master' of github.com:Torantulino/Auto-GPT into attr-error-lower
2023-04-11 22:51:53 -05:00
Robin Richtsfeld
8d7e0153f0
Fix Spinner
2023-04-12 02:26:30 +02:00
JZ
9725c727da
Changed spelling from "GTP" to "GPT". Also removed the 3 as this can run on GPT4.
2023-04-11 16:22:26 -07:00
Wlad
edf364efe8
Merge remote-tracking branch 'upstream/master' into fix-user-feedback-json-error
2023-04-11 23:32:31 +02:00
Slava Kurilyak (slavakurilyak.eth)
e9e4f11b4a
Merge branch 'master' into security-and-robustness-improvements
2023-04-11 09:32:51 -06:00
kinance
e0cb648858
Make the cfg.debug to cfg.debug_mode consistent across files
2023-04-11 23:01:49 +09:00
PierreBastiani
dbb78b636f
check for authorise 'y' without trailing space
2023-04-11 14:57:29 +01:00