Commit graph

1687 commits

Author SHA1 Message Date
shenchucheng
f742827586 fix not fully defined error 2024-02-02 18:50:28 +08:00
shenchucheng
3125f4c0c7 remove extra value after model_validator in Role/ContextMixin 2024-02-02 16:35:51 +08:00
shenchucheng
f6824b078c fix ContextMixin ut error 2024-02-02 16:13:29 +08:00
geekan
0118712ff8
Merge pull request #826 from mannaandpoem/dev_compatible_with_windows_path
modify re.sub(r"\\+", '/') to as_posix()
2024-02-02 16:03:39 +08:00
mannaandpoem
18b0eaa6fd compatible with windows path 2024-02-02 15:49:24 +08:00
geekan
6d60d3210a
Merge pull request #825 from mannaandpoem/dev_compatible_with_windows_path
fixbug: compatible with windows path
2024-02-02 15:49:13 +08:00
mannaandpoem
5edee1299c compatible with windows path 2024-02-02 15:37:00 +08:00
mannaandpoem
dcb0623d46 1. Dev compatible with windows path
2. add @pytest.mark.skip
2024-02-02 14:59:16 +08:00
geekan
119bc0d89a
Merge pull request #809 from better629/feat_new_env
Feat env-refactor
2024-02-02 14:31:37 +08:00
better629
5d95447cb9 add README to guide followed development 2024-02-02 14:17:13 +08:00
better629
2abc14aee6 update const value import path 2024-02-01 18:30:16 +08:00
better629
9f4ee42079 update env api schema 2024-02-01 18:18:35 +08:00
shenchucheng
e246a9cff9 update docs 2024-02-01 16:56:45 +08:00
shenchucheng
9b613eec59 remove global config in the search/browser engine 2024-02-01 16:47:29 +08:00
better629
52a94470db remove environment const into individual const.py 2024-02-01 16:34:17 +08:00
better629
3a4acb8f22 update werewolf_ext_env to add role permission protection and remove useless fields 2024-02-01 16:15:39 +08:00
geekan
97868beacf refactor config 2024-02-01 13:53:57 +08:00
geekan
f3cb2cfbed Merge branch 'main' into dev 2024-02-01 13:25:05 +08:00
geekan
097128f022 refine docs 2024-02-01 11:14:34 +08:00
geekan
7e97334168 refine docs 2024-02-01 10:53:08 +08:00
geekan
eb94c5f735
Merge pull request #785 from arnaudgelas/fix/prompt-logic
Fix prompt logic when defining to who the message should be sent.
2024-01-31 23:36:53 +08:00
geekan
a762e02000 update config usage 2024-01-31 23:13:38 +08:00
geekan
ad1edf6092 refine comments 2024-01-31 17:36:04 +08:00
geekan
54388d0a87 refine comments 2024-01-31 17:34:48 +08:00
shenchucheng
fc412e55a3 fix tests/metagpt/learn/test_google_search.py error 2024-01-31 15:58:26 +08:00
better629
2d372a8863
Merge branch 'dev' into feat_new_env 2024-01-31 15:12:22 +08:00
geekan
41907b1fe3 add action graph, solver, search space. 2024-01-31 14:14:12 +08:00
better629
f9e4a782c7 update 2024-01-30 20:46:53 +08:00
better629
6b1f3ee398 add dalle/gpt4v example 2024-01-30 20:39:56 +08:00
better629
51f004141c add software_env 2024-01-30 19:15:32 +08:00
better629
37c3f3b850 add mincraft_env 2024-01-30 19:14:24 +08:00
better629
29e8a076bd add stanford_town_env 2024-01-30 19:09:27 +08:00
better629
210a00c1e7 add werewolf_env 2024-01-30 19:08:55 +08:00
better629
1d772e8eb5 update base env and android_env 2024-01-30 19:07:38 +08:00
better629
df728a034e simplify code 2024-01-30 14:32:57 +08:00
better629
e7cd90f7f8 add openai dall-e support 2024-01-30 14:31:00 +08:00
better629
310687258e add gpt-4v support for aask and AN.fill 2024-01-30 11:59:53 +08:00
莘权 马
06b4e4767a feat: generate_repo return ProjectRepo 2024-01-29 10:20:05 +08:00
程允权
a68c3442bc Refactor get_choice_delta_text for safer dict access 2024-01-28 13:49:31 +08:00
huzixia
c3b4c698d8 update repair_llm_raw_output.py 2024-01-27 18:23:57 +08:00
huzixia
11f70ca9b1 modify code based on feedback of action_node.py and repair_llm_raw_output.py, add code in test_repair_llm_raw_output.py 2024-01-27 18:06:52 +08:00
huzixia
8b5f7848fa delete PR dir 2024-01-27 17:00:59 +08:00
huzixia
43b069f453 Addtionly, if you do not want JSONDecodeError to occur, you can add 'Delete comments in json' after FORMAT_CONSTRAINT in action_node.py 2024-01-26 23:20:16 +08:00
huzixia
ed54f6b86a To avoid JSONDecodeError:
Remove comments in output json str, after json value content, maybe start with #, maybe start with //, particularly, it is not inside the string value

Addtionly, if you do not want JSONDecodeError to occur, you can add 'Delete comments in json' after FORMAT_CONSTRAINT in action_node.py
2024-01-26 22:59:10 +08:00
geekan
aada81bfe6 fix conflicts 2024-01-26 19:06:41 +08:00
geekan
a6bdd02017 add ActionNode.from_pydantic 2024-01-26 19:05:22 +08:00
geekan
d4ae2a839e
Merge pull request #797 from iorisa/feature/compatible_windows
fixbug: compatible with windows path
2024-01-26 15:11:34 +08:00
geekan
59afc5301f update token counter 2024-01-26 15:08:08 +08:00
geekan
cfadd54a3a
Update token_counter.py 2024-01-26 15:02:34 +08:00
mannaandpoem
1f90bc58cc 1. Update the code compression package
2. Modify the prompt of REFINED_TEMPLATE
2024-01-25 16:25:23 +08:00