Commit graph

3228 commits

Author SHA1 Message Date
刘棒棒
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
yzlin
540542834e allow select tool at role initialization & restructure writecodewithtools 2024-01-20 21:06:48 +08:00
yzlin
2ccfe31123 unittest for tool convert 2024-01-19 22:32:43 +08:00
yzlin
c4a60d89e0 make tool yaml from class or func docstring 2024-01-19 22:29:37 +08:00
mannaandpoem
e1b783ca14 Merge branch 'main' into incremental_development
# Conflicts:
#	metagpt/schema.py
2024-01-19 19:53:17 +08:00
mannaandpoem
bed3040ff3 Merge remote-tracking branch 'origin/incremental_development' into incremental_development 2024-01-19 19:41:55 +08:00
mannaandpoem
4bb9c006c2 update test case of ActionNode 2024-01-19 19:41:38 +08:00
mannaandpoem
39c00848b9 update test case of ActionNode 2024-01-19 19:39:59 +08:00
geekan
b89746b9c7 merge main 2024-01-19 16:02:09 +08:00
mannaandpoem
12b9f51abf update _watch in engineer.py 2024-01-19 16:00:59 +08:00
刘棒棒
c6695a3023 fix: keep same return value in get_choice_function_arguments. 2024-01-19 15:37:28 +08:00
mannaandpoem
134791ca35 1. update mode from "guide" to "incremental" in get_codes function of write_code.py
2. update _new_code_plan_and_change_action function
2024-01-19 15:18:54 +08:00
mannaandpoem
69ad2f4147 update mode from "guide" to "incremental" in get_codes function of write_code.py 2024-01-19 14:53:19 +08:00
mannaandpoem
81b59bfe0d update CodePlanAndChangeContext 2024-01-19 14:44:06 +08:00
garylin2099
ab77bde54c
Merge pull request #777 from iorisa/fixbug/openai_error
feat: Maintain the original exceptions of OpenAI and HTTPX during exception handling.
2024-01-19 13:45:24 +08:00
mannaandpoem
1959743d0b update write_code_plan_and_change_an.py and add it to _think and _act process 2024-01-19 13:36:38 +08:00