Commit graph

581 commits

Author SHA1 Message Date
刘棒棒
0c8a844f5a add strip for result. 2024-01-24 12:06:07 +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
刘棒棒
6cb2910d14 fix: now present the results of failure and success code in different ways. 2024-01-22 15:29:28 +08:00
yzlin
540542834e allow select tool at role initialization & restructure writecodewithtools 2024-01-20 21:06:48 +08:00
yzlin
3faa094248 fix aask_code issues in ml_engineer 2024-01-18 23:45:37 +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
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
刘棒棒
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
刘棒棒
f9b1cce654 update code-intepreter by auto aask. 2024-01-15 22:21:56 +08:00
刘棒棒
4f93c5fad3 add only_code arg for WriteCodeByGenerate. 2024-01-15 16:59:49 +08:00
刘棒棒
b69f2be165 delete type. 2024-01-15 16:51:25 +08:00
刘棒棒
ec07513caf support for markdown. 2024-01-15 15:51:36 +08:00
刘棒棒
bb356fbc02 update truncate. 2024-01-15 15:49:07 +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
yzlin
4b09ffd2f5 pre-commit format 2024-01-13 10:37:15 +08:00
lidanyang
3fded9b6e0 fix timeout 2024-01-12 18:23:15 +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
yzlin
e99c5f29f4 tool management at one place, add aask_code mock, azure mock 2024-01-11 22:55:31 +08:00
stellahsr
af26fe06cf update debug_code ut
update sd_tool_usage example
2024-01-11 21:50:35 +08:00
yzlin
9e0b9745be default tool_config and module_name 2024-01-11 14:22:23 +08:00
yzlin
17aeb9f825 formatting 2024-01-11 14:15:33 +08:00
yzlin
437bbca466 make tool ask review 2024-01-11 14:10:52 +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
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
lidanyang
3eee6eff8c drop retry 2024-01-09 17:45:46 +08: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
yzlin
a3dc6aa7e3 Merge branch 'main' into llm_mock 2024-01-05 15:28:03 +08:00
yzlin
1249d12b6f add openai api call switch; fix ocr 2024-01-05 14:34:44 +08:00
莘权 马
43d07de810 feat: Replace the actual root directory name of the project codes with a fake one in the WriteTest prompt. 2024-01-05 11:02:41 +08:00
莘权 马
c966138a74 feat: +unit test
fixbug: Align to the same root directory in accordance with `class_views`

fixbug: The class has lost namespace information.

feat: + mock

fixbug: project name invalid

feat: +mermaid sequence diagram

feat: translate from code to mermaid sequence

feat: translate from code to mermaid sequence
2024-01-05 10:25:20 +08:00
莘权 马
718dd0fd9e feat: parse class view 2024-01-03 17:35:09 +08:00
莘权 马
49a95e6608 feat: merge geekan:dev 2024-01-02 22:36:16 +08:00
莘权 马
eabe0224c5 feat: +rebuild project
feat: parse pass
2024-01-02 22:34:48 +08:00
geekan
c50ae4d8d7 refine code 2024-01-02 20:49:20 +08:00
geekan
0b9becf93f fix pydantic v2 model validation for custom class 2024-01-02 19:27:42 +08:00
geekan
907cf5bebc remove get_template function 2024-01-02 14:45:58 +08:00
莘权 马
681068edc9 feat: +unit test 2023-12-29 21:37:42 +08:00
better629
65671a3bca no need to define new llm field in subclass again 2023-12-29 09:22:31 +08:00
better629
3c07bf5622 Merge branch 'dev' of github.com:better629/MetaGPT into dev 2023-12-29 04:28:21 +08:00
better629
e52957026b update ser&deser unittest 2023-12-29 04:27:44 +08:00