Commit graph

1689 commits

Author SHA1 Message Date
刘棒棒
0c8a844f5a add strip for result. 2024-01-24 12:06:07 +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
林义章
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
刘棒棒
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
林义章
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
林义章
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
刘棒棒
6cb2910d14 fix: now present the results of failure and success code in different ways. 2024-01-22 15:29:28 +08: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
yzlin
0f245f530e logging 2024-01-22 13:57:52 +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
mannaandpoem
9661c3c681 update IMAGE2WEBPAGE_PROMPT for gpt_v_generator tool 2024-01-22 09:15:17 +08:00
yzlin
540542834e allow select tool at role initialization & restructure writecodewithtools 2024-01-20 21:06:48 +08:00
yzlin
c4a60d89e0 make tool yaml from class or func docstring 2024-01-19 22:29:37 +08:00
刘棒棒
c6695a3023 fix: keep same return value in get_choice_function_arguments. 2024-01-19 15:37:28 +08:00
mannaandpoem
06b35a34a6 fix bug of save file and update prompt for gpt_v_generator tool 2024-01-19 10:00:56 +08:00
yzlin
3faa094248 fix aask_code issues in ml_engineer 2024-01-18 23:45:37 +08:00
yzlin
88c4c8c90d integrate web scraping tool 2024-01-18 23:26:34 +08:00
yzlin
c32dcca293 fix schema reading bug 2024-01-18 21:22:34 +08:00
yzlin
1cabf2c503 change register arg name, integrate image2web tool 2024-01-18 21:22:34 +08:00
yzlin
9dc421b122 rename schema to schemas to avoid pydantic warning 2024-01-18 21:22:34 +08:00
yzlin
c8858cd8d4 minimize ml_engineer 2024-01-18 21:22:34 +08:00
yzlin
8a14dde219 tool_type renaming 2024-01-18 21:22:34 +08:00
yzlin
638dda31cf add unit tests for tool registry 2024-01-18 21:22:34 +08:00
yzlin
c8da839afe moving files 2024-01-18 21:22:34 +08:00
yzlin
d7ab4d315d renaming and integrate sd tool, fix import issue 2024-01-18 21:22:33 +08:00
yzlin
46cd219e81 add tool registry 2024-01-18 21:22:04 +08:00
刘棒棒
d78db8994c delete arg only_code. 2024-01-18 20:57:43 +08:00
刘棒棒
f3612f8123 add only_code arg for WriteCodeByGenerate. 2024-01-18 12:10:37 +08:00
刘棒棒
10129c6ecf update scrape_web. 2024-01-18 12:07:31 +08:00
刘棒棒
02a81abe5d Merge branch 'code_intepreter' into 'update-code-intepreter-by-auto-aask'
# Conflicts:
#   metagpt/tools/__init__.py
2024-01-18 03:54:39 +00:00
刘棒棒
20f31fa027 pre-commit. 2024-01-17 18:17:52 +08:00
刘棒棒
ff10c9bdda change name: _display_markdown -> display_markdown. 2024-01-17 18:10:30 +08:00
刘棒棒
95ce190f32 feature: display markdown content. 2024-01-16 14:30:07 +08:00
刘棒棒
eef77d1628 display markdown. 2024-01-16 12:29:52 +08:00
刘棒棒
29fd7117ef update module. 2024-01-16 11:57:08 +08:00
刘棒棒
f9b1cce654 update code-intepreter by auto aask. 2024-01-15 22:21:56 +08:00
刘棒棒
d1666c3307 update get_choice_function_arguments. 2024-01-15 21:17:01 +08:00
刘棒棒
b430e2c88f update scrape_web module. 2024-01-15 19:02:37 +08:00
刘棒棒
559a1604ad restore. 2024-01-15 18:26:32 +08:00
刘棒棒
a7e088845e update scrape_web docstring. 2024-01-15 18:11:22 +08:00