Commit graph

2703 commits

Author SHA1 Message Date
huzixia
f16b247586 merge code with similar logic to avoid duplication 2024-01-27 15:32:12 +08:00
莘权 马
aa0909525e feat: merge geekan/dev 2024-01-27 13:38:14 +08:00
莘权 马
782875dadf Merge branch 'dev' of https://github.com/geekan/MetaGPT into geekan/dev 2024-01-27 13:35:18 +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
b2e020a97c
Merge pull request #798 from mannaandpoem/dev_incremental
Update the code compression package
2024-01-26 15:10:31 +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
4680ff5e62 Only retain test_simple_add_calculator, skip other test cases 2024-01-25 17:33:23 +08:00
莘权 马
a94ccbc838 Merge branch 'mannaandpoem/dev_incremental' into geekan/dev 2024-01-25 16:42:53 +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
莘权 马
44b550f5af Merge branch 'dev' of https://github.com/geekan/MetaGPT into geekan/dev 2024-01-25 15:54:25 +08:00
Guess
442f2cf974
Merge pull request #794 from mannaandpoem/dev_incremental
Add the tar command to extract the .zip file
2024-01-25 15:42:41 +08:00
莘权 马
51169d7a69 feat: + compatible with windows path 2024-01-25 15:40:16 +08:00
莘权 马
74aa0aa4a5 Merge branch 'mannaandpoem/dev_incremental' into geekan/dev 2024-01-25 13:34:24 +08:00
mannaandpoem
0faae9368f Add the tar command to extract the .zip file 2024-01-25 11:52:14 +08:00
mannaandpoem
f9f6dbefa8 Add the tar command to extract the .zip file 2024-01-25 10:33:46 +08:00
garylin2099
59b2e5e002
Merge pull request #791 from iorisa/fixbug/unittest
fixbug: Replace `mock` with `pytest-mock`
2024-01-24 21:45:47 +08:00
莘权 马
d51d262238 fixbug: module 'mock' has no attribute 'patch'
fixbug: unit test
2024-01-24 21:40:12 +08:00
莘权 马
49f0b6b55b Merge branch 'dev' of https://github.com/geekan/MetaGPT into geekan/dev 2024-01-24 19:50:10 +08:00
Guess
ac98df98b8
Merge pull request #787 from mannaandpoem/dev_incremental
feat:  Improving incremental development
2024-01-24 19:48:22 +08:00
geekan
8bdc1a921b
Merge pull request #789 from voidking/dev
feat: unittest support config2.yaml
2024-01-24 19:08:51 +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
voidking
448215613d feat: support config2.yaml 2024-01-24 18:00:54 +08:00
mannaandpoem
5af94ae133 update comment in get_codes function 2024-01-24 17:51:17 +08:00
mannaandpoem
e761612aec Merge remote-tracking branch 'origin/dev_incremental' into dev_incremental
# Conflicts:
#	metagpt/actions/write_code.py
2024-01-24 17:47:57 +08:00
voidking
48cb6c6a78 feat: support config2.yaml 2024-01-24 17:42:11 +08:00
mannaandpoem
92384d77dd update comment in get_codes function 2024-01-24 17:40:12 +08:00
mannaandpoem
db8ae71afa update comment in get_codes function 2024-01-24 17:17:40 +08:00
mannaandpoem
3450c240c9 remove mode of get_codes function 2024-01-24 16:44:10 +08:00
莘权 马
094d7c26df fixbug: The startup parameters of the program have been lost. 2024-01-24 16:30:55 +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
geekan
63b7a85b39
Merge pull request #775 from arnaudgelas/fix/test-generation
Fix test generation
2024-01-23 14:40:06 +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
geekan
8b13783085 add rsp cache 2024-01-22 19:34:06 +08:00
geekan
7f78c56ad7
Merge pull request #784 from iorisa/feature/remove_global_context
feat: Replace `CONTEXT` with `Context()`
2024-01-22 19:12:53 +08:00
geekan
246d88748e update rsp cache 2024-01-22 19:11:33 +08:00
geekan
452f6e2c38 fix bugs 2024-01-22 18:52:55 +08:00
莘权 马
e8b3e6762b feat: replace global CONTEXT with Config()
fixbug: unit test
2024-01-22 18:01:40 +08:00