Commit graph

3293 commits

Author SHA1 Message Date
刘棒棒
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
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
林义章
8ed51b10b3 Merge branch 'fix-openai-return-bug' into 'code_intepreter'
fix: keep same return value in get_choice_function_arguments.

See merge request agents/data_agents_opt!53
2024-01-22 02:22:38 +00:00
刘棒棒
8084fca1d0 change default value of language_value. 2024-01-22 10:18:25 +08:00
林义章
e1a37ca76c Merge branch 'code_intepreter_fix_gpt_v_generator' into 'code_intepreter'
fix bug of save file and update prompt for gpt_v_generator tool

See merge request agents/data_agents_opt!52
2024-01-22 02:10:18 +00:00
mannaandpoem
9661c3c681 update IMAGE2WEBPAGE_PROMPT for gpt_v_generator tool 2024-01-22 09:15:17 +08:00
莘权 马
9cef759b08 feat: merge v0.6.7 2024-01-21 16:07:40 +08:00
莘权 马
8ffeb0691a Merge branch 'feature/merge/v0.6-release' into geekan/dev 2024-01-21 16:06:01 +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
geekan
b5922d4979
Merge pull request #497 from mannaandpoem/incremental_development
add increment development function
2024-01-20 23:00:26 +08:00