Commit graph

1679 commits

Author SHA1 Message Date
莘权 马
5f88e12a7d Merge branch 'geekan/dev' into feature/rebuild 2024-02-01 17:45:00 +08:00
莘权 马
027f1e8658 feat: +google style docstring 2024-02-01 17:43:18 +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
莘权 马
6b527e3020 feat: +visual version 2024-02-01 10:27:53 +08:00
莘权 马
fb7518c12b feat: +visual graph repo 2024-01-31 23:40:04 +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
莘权 马
9bcaa67cc3 fixbug: unit test 2024-01-27 17:22:28 +08:00
莘权 马
3a2f162fdd feat: rebuild sequence view pass 2024-01-27 17:07:35 +08:00
huzixia
8b5f7848fa delete PR dir 2024-01-27 17:00:59 +08:00
莘权 马
aa0909525e feat: merge geekan/dev 2024-01-27 13:38:14 +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
莘权 马
1b9ce4abca feat: +sequence merge 2024-01-26 20:23:24 +08:00
莘权 马
67bf89996b feat: +source -> use case -> sequence view 2024-01-26 19:39:06 +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
莘权 马
633c772529 fixbug: class view
fixbug: method type, feat: add compotition&aggregation
2024-01-23 22:22:13 +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