Commit Graph

312 Commits

Author SHA1 Message Date
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
Maiko Bossuyt
c785352ed2 Update main.py
clean trailing whitespace
2023-04-12 16:23:09 +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
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
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
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
kinance
e0cb648858 Make the cfg.debug to cfg.debug_mode consistent across files 2023-04-11 23:01:49 +09:00
Toran Bruce Richards
d7b747600d Merge pull request #782 from onekum/patch-1
Change "an" to "a"
2023-04-11 12:55:27 +01:00
Toran Bruce Richards
186a8c615e Merge pull request #678 from kinance/kinance-resolve-debug-config-conflict
Resolve the conflict around debug mode flag after pull merge
2023-04-11 12:34:01 +01:00
Toran Bruce Richards
ff7c000c83 Merge pull request #786 from kinance/kiannce-remove-duplicate-debug-mode
Remove duplicates of set debug mode func
2023-04-11 12:31:44 +01:00
kinance
b06974904c Remove duplicates of set debug mode func 2023-04-11 19:26:23 +09:00
onekum
b90f355e7d Change "an" to "a"
Grammar error: In English, only words starting with (a, e, i, o, u) get "an".
2023-04-11 05:01:02 -04:00
Andy Melnikov
d12da33e55 Fix flake8 W293 and W391 2023-04-11 07:53:32 +02:00
Toran Bruce Richards
5a6e565c52 Merge pull request #706 from Sma-Das/remove_imports
[Cleanup] Removed unneeded imports
2023-04-11 06:17:44 +01:00
BillSchumacher
66d316a19c Fix case where index throws value error. 2023-04-10 21:55:35 -05:00
Toran Bruce Richards
3ed3f16d14 Merge pull request #242 from bituq/master
Fixed speech blocking main thread
2023-04-11 03:31:04 +01:00
Toran Bruce Richards
95f9380f13 Merge pull request #747 from BillSchumacher/fix-json-error
Update json_utils.py
2023-04-11 02:06:15 +01:00
BillSchumacher
efcc6a3f76 Update json_utils.py
This was used differently in a local branch and an error.
2023-04-10 19:50:40 -05:00
BillSchumacher
1b128a1ef0 Use UTF-8 encoding for Windows users. 2023-04-10 18:50:54 -05:00
kinance
3695c1e0e6 Merge branch 'Torantulino:master' into kinance-resolve-debug-config-conflict 2023-04-11 08:49:43 +09:00
Dylan N
6ab197a9c5 Merge branch 'master' into master 2023-04-11 00:52:28 +02:00
Bituq
353785d23d Fix macos_tts_speech merge conflict 2023-04-11 00:50:57 +02:00
Toran Bruce Richards
ed581461df Merge pull request #712 from nponeccop/pr-whitespace2
Remove trailing whitespace throughout
2023-04-10 23:02:31 +01:00
Toran Bruce Richards
78d2d57b8d Merge pull request #702 from yoshikouki/clean-up-command
Remove unnecessary assignments
2023-04-10 23:00:15 +01:00
Toran Bruce Richards
7c5e3b03c5 Merge pull request #690 from onekum/patch-2
Restrict browse from accessing local files
2023-04-10 22:57:02 +01:00
Toran Bruce Richards
cdcec2f619 Merge pull request #648 from pratiksinghchauhan/fix-#323-error-communicating-to-openai
Fix #323 Error communicating with OpenAI: Invalid URL 'your-base-url-for-azure/embeddings'
2023-04-10 22:46:46 +01:00
Toran Bruce Richards
3aade672b6 Merge pull request #637 from Wladastic/use-macos-tts-instead-of-gtts
add config to use mac os tts instead of elevenlabs or gtts
2023-04-10 22:42:55 +01:00
Toran Bruce Richards
0eab8d1087 Merge pull request #633 from Sma-Das/clean_input
[Utility] Created clean_input to cleanly exit KeyboardInterrupts
2023-04-10 22:39:45 +01:00
keenborder786
334a1d2632 [feat]: Added a argument which allows gpt4 only mode and configure the fast_llm_model accordingly 2023-04-11 01:23:59 +05:00
Richard Beales
f69e46208e remove trailing newline 2023-04-10 19:50:56 +01:00
Richard Beales
c6bdb0f0ba remove trailing newline 2023-04-10 19:50:13 +01:00
Richard Beales
f727f5d9ea Merge https://github.com/richbeales/Auto-GPT 2023-04-10 19:36:04 +01:00
Richard Beales
081415ab6c fix merge conflict 2023-04-10 19:32:52 +01:00
Andy Melnikov
c9701a3302 Remove trailing whitespace throughout 2023-04-10 18:17:11 +02:00
onekum
b60c7518b0 Rework local file address blocks
add `def check_local_file_access`, which defines and checks for local file address prefixes; use it to restrict access
2023-04-10 12:10:28 -04:00
Sma Das
5c1c3f9c7e Added exit message on KeyboardInterrupt 2023-04-10 11:31:43 -04:00
Sma Das
cd07115a39 Removed trailing whitespace 2023-04-10 11:29:15 -04:00
Sma Das
8cf58d00cf Removed unneeded imports 2023-04-10 10:57:47 -04:00
Sma Das
cf1856aa25 Merge branch 'master' into clean_input 2023-04-10 10:50:05 -04:00