Commit graph

1972 commits

Author SHA1 Message Date
yzlin
30de3b4d64 fix message init bug 2024-01-31 15:08:40 +08:00
yzlin
a9ef85b282 add gptv config 2024-01-31 11:35:05 +08:00
yzlin
56f5dc9f2e fix planner serialization bug, add test data 2024-01-31 10:49:49 +08:00
yzlin
f9519ca417 change ways of using config 2024-01-31 00:39:57 +08:00
yzlin
2fcb2a1cfe Merge branch 'dev' into code_intepreter 2024-01-31 00:08:09 +08:00
yzlin
274747e72f fix test_debug_code 2024-01-30 22:20:34 +08:00
yzlin
ede04f20f6 fix test_write_analysis_code 2024-01-30 22:04:00 +08:00
yzlin
4a7929d880 rm immature code, improve naming, add unittest test rsp cache 2024-01-30 21:04:33 +08:00
yzlin
606f1b8f9c accept goal during run; move more logic from role to planner 2024-01-30 16:43:58 +08:00
莘权 马
06b4e4767a feat: generate_repo return ProjectRepo 2024-01-29 10:20:05 +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
yzlin
7aa89a3204 minor update 2024-01-25 15:19:48 +08:00
林义章
1fb77121f4 Merge branch 'add-web-scraping-test' into 'code_intepreter'
Add web scraping test

See merge request agents/data_agents_opt!60
2024-01-25 07:04:38 +00:00
刘棒棒
54a08747db chore 2024-01-25 15:02:52 +08:00
林义章
5f624844cc Merge branch 'tool_manage_new' into 'code_intepreter'
rm make tools in ci for now

See merge request agents/data_agents_opt!61
2024-01-25 06:34:24 +00:00
yzlin
f1a4197a82 rm make tools in ci for now 2024-01-25 14:04:14 +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
刘棒棒
0c8a844f5a add strip for result. 2024-01-24 12:06:07 +08:00
mannaandpoem
e42dc522c2 Fix bug in WriteCode 2024-01-24 10:59:32 +08:00
刘棒棒
dfe49a3312 update return value. 2024-01-24 10:53:03 +08:00
刘棒棒
ff5e7deb21 add strip for result. 2024-01-24 10:52:30 +08:00
mannaandpoem
62c128602f 1. update bug of getting requirement_doc
2. modify prompt
2024-01-24 09:51:18 +08:00
林义章
d60a4c1cdb Merge branch 'update-CodeInterpreter._write_and_exec_code' into 'code_intepreter'
update CodeInterpreter._write_and_exec_code

See merge request agents/data_agents_opt!59
2024-01-23 13:44:30 +00: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
刘棒棒
519f22f7bb update CodeInterpreter._write_and_exec_code 2024-01-23 20:53:08 +08:00
刘棒棒
bcda7ac951 add comments for openai tools_call respond bug. 2024-01-23 17:53:50 +08:00
刘棒棒
cff4eff78d update CodeParser.parse_code. 2024-01-23 17:46:41 +08:00
刘棒棒
a06d8023d6 update CodeParser.parse_code. 2024-01-23 17:36:19 +08:00
刘棒棒
987eb6d38b fix: now support parsing code in message.content when using tools_call. 2024-01-23 17:06:22 +08:00
mannaandpoem
32f9fbb46b Merge branch 'dev' into dev_incremental 2024-01-23 09:39:43 +08:00
林义章
93538cc848 Merge branch 'add-test-for-aask_code-executecode' into 'code_intepreter'
Add test for aask code and executecode

See merge request agents/data_agents_opt!57
2024-01-22 13:42:26 +00:00
刘棒棒
0ad3de69a1 update _process_code. 2024-01-22 18:54:21 +08:00
刘棒棒
3bfd0c8dad update truncate. 2024-01-22 18:36:23 +08:00
莘权 马
e8b3e6762b feat: replace global CONTEXT with Config()
fixbug: unit test
2024-01-22 18:01:40 +08:00
林义章
7f5f95d41b Merge branch 'tool_manage_new' into 'code_intepreter'
convert local class or function to tool, tool clarification at role initialization

See merge request agents/data_agents_opt!55
2024-01-22 09:12:02 +00:00
刘棒棒
64a296a29d update logger warning for JSONDecodeError. 2024-01-22 16:14:59 +08:00
莘权 马
ff314388bb Merge branch 'dev' of https://github.com/geekan/MetaGPT into geekan/dev 2024-01-22 15:36:11 +08:00
刘棒棒
6cb2910d14 fix: now present the results of failure and success code in different ways. 2024-01-22 15:29:28 +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