Commit graph

3158 commits

Author SHA1 Message Date
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
刘棒棒
0353f36f0d new file: examples/crawle_webpage.py 2024-01-24 15:21:32 +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
刘棒棒
3f2b512d29 new file: tests/metagpt/tools/libs/test_web_scraping.py 2024-01-24 10:53:37 +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
林义章
2d9a6c3c95 Merge branch 'fix-openai-tools_call-respond-bug' into 'code_intepreter'
Fix openai tools call respond bug

See merge request agents/data_agents_opt!58
2024-01-23 13:44:06 +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
刘棒棒
0cc0a16e52 add new test for tool_calls_rsp. 2024-01-23 17:50:04 +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
刘棒棒
31813f2512 add new test for tool_calls_rsp. 2024-01-23 17:16:15 +08:00
刘棒棒
987eb6d38b fix: now support parsing code in message.content when using tools_call. 2024-01-23 17:06:22 +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
林义章
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
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
刘棒棒
0ad3de69a1 update _process_code. 2024-01-22 18:54:21 +08:00
刘棒棒
1bf9e023e4 add new test. 2024-01-22 18:53:40 +08:00
geekan
452f6e2c38 fix bugs 2024-01-22 18:52:55 +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
geekan
bcfb7e0543
Merge pull request #782 from shenchucheng/fix-pybrowsers-dep
fix pybrowsers not found
2024-01-22 16:24:28 +08:00
刘棒棒
64a296a29d update logger warning for JSONDecodeError. 2024-01-22 16:14:59 +08:00
刘棒棒
1793a5fec6 update function_rsps. 2024-01-22 16:09:23 +08:00
shenchucheng
47af1967b4 fix pybrowsers not found 2024-01-22 15:45:19 +08:00
geekan
f3d295787e resolve zhipu 2.0.1 2024-01-22 15:37:00 +08:00
刘棒棒
c96b517774 add test. 2024-01-22 15:36:25 +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
yzlin
33e13b677b typo 2024-01-22 15:01:44 +08:00
yzlin
9b3987ff29 add docstring parser 2024-01-22 14:58:06 +08: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
刘棒棒
5ddaaaa347 add test: test_get_choice_function_arguments_for_aask_code. 2024-01-22 14:56:44 +08:00
yzlin
0f245f530e logging 2024-01-22 13:57:52 +08: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
莘权 马
2eb5e2f913 Merge branch 'dev' of https://github.com/geekan/MetaGPT into geekan/dev 2024-01-22 13:33:59 +08:00