Commit graph

564 commits

Author SHA1 Message Date
刘棒棒
3f2b512d29 new file: tests/metagpt/tools/libs/test_web_scraping.py 2024-01-24 10:53:37 +08:00
刘棒棒
0cc0a16e52 add new test for tool_calls_rsp. 2024-01-23 17:50:04 +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
林义章
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
刘棒棒
1bf9e023e4 add new test. 2024-01-22 18:53: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
刘棒棒
1793a5fec6 update function_rsps. 2024-01-22 16:09:23 +08:00
刘棒棒
c96b517774 add test. 2024-01-22 15:36:25 +08:00
刘棒棒
5ddaaaa347 add test: test_get_choice_function_arguments_for_aask_code. 2024-01-22 14:56:44 +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
mannaandpoem
06b35a34a6 fix bug of save file and update prompt for gpt_v_generator tool 2024-01-19 10:00:56 +08:00
yzlin
23fccdde67 update mock llm aask_code 2024-01-19 00:09:58 +08:00
yzlin
1cabf2c503 change register arg name, integrate image2web tool 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
mannaandpoem
66db86ae2a update test_vision.py for mock 2024-01-15 18:19:57 +08:00
mannaandpoem
7f1584db9e 1. add test_vision.py
2. add save_webpages function in vision.py and vision.yml
2024-01-15 17:26:35 +08:00
林义章
7f0c752f8d Merge branch 'fix_code_timeout' into 'code_intepreter'
fix timeout

See merge request agents/data_agents_opt!46
2024-01-15 03:10:29 +00:00
lidanyang
932a26cbb3 update unittest 2024-01-15 10:50:08 +08:00
林义章
4eb366cd31 Merge branch 'add_test_for_ml_tools' into 'code_intepreter'
Add test for ml tools

See merge request agents/data_agents_opt!44
2024-01-13 02:42:38 +00:00
yzlin
4b09ffd2f5 pre-commit format 2024-01-13 10:37:15 +08:00
yzlin
e079b8b152 remove sensitive and recover rsp_cache.json 2024-01-13 10:34:45 +08:00
stellahsr
d9ad3a6195 update 2024-01-12 17:30:22 +08:00
stellahsr
192e2aa807 Merge branch 'code_intepreter' into sd_and_debugcode_ut 2024-01-12 16:58:05 +08:00
stellahsr
75134d205d Merge branch 'code_intepreter' of https://gitlab.deepwisdomai.com/agents/data_agents_opt into code_intepreter
update example of sd_tool_usage
2024-01-12 16:51:49 +08:00
lidanyang
99675a5a82 add unittest and remove old code 2024-01-12 16:22:54 +08:00
lidanyang
a9575380b5 update test for write_code_with_tools 2024-01-12 16:04:44 +08:00
stellahsr
9946280c9e update locally 2024-01-12 14:56:31 +08:00
yzlin
e99c5f29f4 tool management at one place, add aask_code mock, azure mock 2024-01-11 22:55:31 +08:00
stellahsr
12bc0104b6 add asyn sd ut 2024-01-11 22:43:02 +08:00
stellahsr
3be26cf94f add sd ut 2024-01-11 21:56:38 +08:00
stellahsr
af26fe06cf update debug_code ut
update sd_tool_usage example
2024-01-11 21:50:35 +08:00
yzlin
e12ab25b7c generalize write code with tools, simplify ml_engineer 2024-01-11 00:23:26 +08:00
yzlin
cd990fd5c9 code adapted to v0.6 2024-01-10 17:20:01 +08:00
yzlin
4ec6151691 format using precommit 2024-01-10 14:16:04 +08:00
yzlin
767c99388f format using precommit 2024-01-10 14:15:30 +08:00
yzlin
853086924a Merge branch 'main' into dev_updated 2024-01-10 14:10:15 +08:00
林义章
7603a1a906 Merge branch 'general_new' into 'dev'
Planner and Code Interpreter

See merge request agents/data_agents_opt!33
2024-01-10 04:09:26 +00:00
yzlin
851ec41380 fix task type issue; add TaskResult data type 2024-01-09 16:54:36 +08:00
lidanyang
fd9f2416ff add timeout and retry when code execution 2024-01-09 16:14:44 +08:00
garylin2099
16e3f94b44
Merge pull request #717 from kkdev163/fixbug/role_init_human_provider
fixbug: role init with is_human=True was not work
2024-01-09 12:43:26 +08:00
kkdev163
82a5eec727 fix(test_role): format error 2024-01-09 12:01:57 +08:00
莘权 马
360f5dcd1b refactor: unit test 2024-01-08 18:02:24 +08:00
kkdev163
6cde039f7f fixbug: role init with is_human=True was not work 2024-01-08 17:45:44 +08:00
geekan
1bce979073
Merge pull request #710 from garylin2099/llm_mock
Fixed two failures and one errors of unittests
2024-01-08 16:15:52 +08:00
yzlin
033dc6bd7d add expected rsp and skip unimportant 2024-01-08 15:33:41 +08:00
莘权 马
fd11f46587 fixbug: unit test 2024-01-08 15:19:16 +08:00
yzlin
160d523389 fix mock issue 2024-01-08 14:03:31 +08:00