Commit graph

1659 commits

Author SHA1 Message Date
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
geekan
41907b1fe3 add action graph, solver, search space. 2024-01-31 14:14:12 +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
莘权 马
51169d7a69 feat: + compatible with windows path 2024-01-25 15:40:16 +08:00
mannaandpoem
431e53617e changed tasks to task 2024-01-24 18:16:47 +08:00
mannaandpoem
7e328e5431 changed {tasks} to {task} in PROMPT_TEMPLATE 2024-01-24 18:05:26 +08:00
mannaandpoem
02b4608f84 changed {tasks} to {task} in PROMPT_TEMPLATE 2024-01-24 18:04:26 +08:00
mannaandpoem
5af94ae133 update comment in get_codes function 2024-01-24 17:51:17 +08:00
mannaandpoem
92384d77dd update comment in get_codes function 2024-01-24 17:40:12 +08:00
mannaandpoem
3450c240c9 remove mode of get_codes function 2024-01-24 16:44:10 +08:00
mannaandpoem
e42dc522c2 Fix bug in WriteCode 2024-01-24 10:59:32 +08:00
mannaandpoem
62c128602f 1. update bug of getting requirement_doc
2. modify prompt
2024-01-24 09:51:18 +08:00
mannaandpoem
0e4197395d 1. update CodePlanAndChangeContext in schema.py
2. add 'await' word in _update_prd function of write_prd.py
2024-01-23 21:35:36 +08:00
mannaandpoem
32f9fbb46b Merge branch 'dev' into dev_incremental 2024-01-23 09:39:43 +08:00
Arnaud Gelas
91c5c72089 Fix prompt logic when defining to who the message should be sent.
With the previous logic, it was possible to reach an undefined state
where it was not meant to be sent to Engineer, QaEngineer, nor NoOne.
2024-01-22 20:10:11 +01:00
莘权 马
e8b3e6762b feat: replace global CONTEXT with Config()
fixbug: unit test
2024-01-22 18:01:40 +08:00
莘权 马
ff314388bb Merge branch 'dev' of https://github.com/geekan/MetaGPT into geekan/dev 2024-01-22 15:36:11 +08:00
Arnaud Gelas
6a9bd4a391 Do not try installing requirements if there are none
Do not try running pip install -r requirements.txt if the file does not
exist or is empty. It avoids seeing an error in the log.
2024-01-22 08:02:53 +01:00
Arnaud Gelas
b4e09341b3 Stop generating unit test for non python files
When trying to create a simple HelloWorld with test, metagpt creates
test for README.md
2024-01-22 07:57:42 +01:00
mannaandpoem
767826e87a Merge branch 'dev' into dev_origin 2024-01-22 13:52:26 +08:00
mannaandpoem
76d4451fc6 merge main to dev 2024-01-22 13:50:21 +08:00
geekan
9d452a97fd
Merge pull request #768 from iorisa/feature/merge/v0.6-release
feat: Merge the modifications resulting from integrating with the agent store.
2024-01-22 12:12:54 +08:00
莘权 马
85465fe500 feat: +note 2024-01-22 11:04:03 +08:00
莘权 马
f15b772d77 feat: +note 2024-01-22 10:54:15 +08:00
莘权 马
525d94317c feat: +note 2024-01-22 10:52:36 +08:00
莘权 马
bda2e06d36 feat: +note 2024-01-22 10:50:32 +08:00
莘权 马
8b84e269a1 feat: remove error print 2024-01-22 10:30:38 +08:00
莘权 马
86b92d53bf feat: merge v0.6.7 2024-01-21 16:02:24 +08:00
莘权 马
0f8c203eff Merge branch 'feature/merge/v0.6-release' into geekan/dev 2024-01-21 16:00:35 +08:00
mannaandpoem
e1b783ca14 Merge branch 'main' into incremental_development
# Conflicts:
#	metagpt/schema.py
2024-01-19 19:53:17 +08:00
mannaandpoem
4bb9c006c2 update test case of ActionNode 2024-01-19 19:41:38 +08:00