莫尔索
5e6d0b620a
Resolving Unicode encoding issues
...
Solve the problem that Chinese, Japanese, Korean and other non-English languages are all encoded in Unicode when writing ai_settings.yaml configuration.
2023-04-14 11:38:29 +08:00
Richard Beales
d8681435c7
Merge pull request #970 from suclogger/fix-reading-config-file-encoding
...
Use UTF-8 encoding for reading config file.
2023-04-13 20:59:41 +01:00
Alrik Olson
9b256a3dd5
Merge branch 'master' into prompt-generator
2023-04-13 10:54:39 -07:00
Drikus Roor
d1ea6cf002
lint: Fix all E302 linting errors
2023-04-13 10:50:51 +02:00
profound
c5f0cb3d3f
fix read config file encoding that broke Chinese
2023-04-12 23:38:30 +08:00
Alrik Olson
2ef9928a2e
Merge remote-tracking branch 'origin/master' into prompt-generator
2023-04-12 07:33:36 -07:00
endolith
cf8b06f11f
Fix some typos
2023-04-12 00:11:24 -04:00
Alrik Olson
7a0c9e8a9d
fix attempts to import a non-existent module
2023-04-11 10:30:53 -07:00
Alrik Olson
b73bca6b2d
Merge remote-tracking branch 'origin/master' into prompt-generator
2023-04-11 09:17:36 -07:00
Alrik Olson
b19eb74874
Refactor the seed prompt to be generated programmatically
...
This removes the tedium of having to re-number every numbered item in the prompt.txt if you want to add/remove commands.
2023-04-11 09:09:59 -07:00
Andy Melnikov
d12da33e55
Fix flake8 W293 and W391
2023-04-11 07:53:32 +02:00
Andy Melnikov
c9701a3302
Remove trailing whitespace throughout
2023-04-10 18:17:11 +02:00
Toran Bruce Richards
e87b6912bd
Merge branch 'master' into add_documentation
2023-04-10 13:43:24 +01:00
Andres Caicedo
9105a9c7f8
Remove whitespaces
2023-04-09 16:31:04 +02:00
Andres Caicedo
d05146c6c5
Delete unrelated changes with PR
2023-04-09 15:48:17 +02:00
Andres Caicedo
26abb30674
Merge branch 'master' into dev
2023-04-09 15:42:53 +02:00
Andres Caicedo
011699e6a1
Code review changes
2023-04-09 15:39:11 +02:00
Fábio Machado de Oliveira
9328c8f7b5
Settings were being saved and loaded in the wrong directory
2023-04-08 00:15:14 -03:00
Coley
77c98a0311
Removed doctest call
2023-04-07 16:57:39 -04:00
Coley
7ae5ffe389
linted changes
2023-04-07 16:52:50 -04:00
Coley
7f4a7d7ccd
Added class, method and function doc strings
2023-04-07 16:47:09 -04:00
Toran Bruce Richards
61685c6f0b
Renames last_run_ai_settings to ai_settings.
...
Hopefully this helps people realise they can edit it themselves.
2023-04-06 11:47:12 +01:00
Toran Bruce Richards
a45ed8c42a
Moves last_run_ai_settings.yaml to root so it's easier to find and use.
2023-04-06 11:46:13 +01:00
Andres Caicedo
cd164648ba
Update ai_config.py
...
Add separation between code blocks.
2023-04-04 10:47:04 +02:00
Andres Caicedo
765210f0cd
Add extra documentation
2023-04-03 14:10:02 +02:00
Taylor Brown
7fd2ce2bc6
Clean up where last_run_settings go
2023-04-02 22:12:14 -05:00
Taylor Brown
afceca0625
Remove commented code from ai_config
2023-04-02 22:11:06 -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