Commit graph

2012 commits

Author SHA1 Message Date
yzlin
3894334b52 Merge branch 'code_intepreter' of https://gitlab.deepwisdomai.com/agents/data_agents_opt into code_intepreter 2024-02-02 18:52:45 +08:00
林义章
32fb3535e7 Merge branch 'update-execute_nb_code.py' into 'code_intepreter'
Add type annotations, describe function return values, and remove unused code

See merge request agents/data_agents_opt!73
2024-02-02 10:52:38 +00:00
yzlin
0336010444 Merge branch 'code_intepreter' of https://gitlab.deepwisdomai.com/agents/data_agents_opt into code_intepreter 2024-02-02 18:50:22 +08:00
刘棒棒
188f7aa033 Remove unused code. 2024-02-02 18:07:58 +08:00
yzlin
1da50f1825 remove ToolTypesEnum 2024-02-02 17:57:49 +08:00
lidanyang
fab4d73e17 add optional flag 2024-02-02 16:57:36 +08:00
lidanyang
e71755e4c7 add docstring 2024-02-02 15:50:21 +08:00
刘棒棒
f605fc4617 Add type annotations, describe function return values, and remove unused code
Summary of Changes:
- Added type annotations for improved code clarity
- Describe function return values for better documentation
- Removed unused functions and variables to declutter the code

Related to: #736
2024-02-02 15:49:40 +08:00
yzlin
35438e7b03 role pydantic init 2024-02-02 15:21:54 +08:00
yzlin
1a1610a67e add more comments 2024-02-01 22:23:28 +08:00
yzlin
4cd09e703c file read write utils 2024-02-01 20:25:53 +08:00
yzlin
2897981e63 task utils etc. 2024-02-01 20:07:44 +08:00
yzlin
afb702c3f3 Merge branch 'dev' into code_intepreter 2024-02-01 16:27:20 +08:00
yzlin
b1da79c714 refine naming and some details 2024-02-01 16:15:57 +08:00
geekan
97868beacf refactor config 2024-02-01 13:53:57 +08:00
geekan
f3cb2cfbed Merge branch 'main' into dev 2024-02-01 13:25:05 +08:00
林义章
e85f749031 Merge branch 'ci_sd_ut_new' into 'code_intepreter'
SD unittest

See merge request agents/data_agents_opt!70
2024-02-01 03:29:29 +00:00
geekan
097128f022 refine docs 2024-02-01 11:14:34 +08:00
geekan
7e97334168 refine docs 2024-02-01 10:53:08 +08:00
yzlin
ff970ab1c7 Merge branch 'dev' into code_intepreter 2024-02-01 00:27:42 +08:00
geekan
eb94c5f735
Merge pull request #785 from arnaudgelas/fix/prompt-logic
Fix prompt logic when defining to who the message should be sent.
2024-01-31 23:36:53 +08:00
geekan
a762e02000 update config usage 2024-01-31 23:13:38 +08:00
刘棒棒
15e72ca51d chore. 2024-01-31 21:07:40 +08:00
刘棒棒
b9663cebbd fix parse_code bug. 2024-01-31 21:00:02 +08:00
yzlin
487169ee61 rm mle_simple for now 2024-01-31 18:27:12 +08:00
yzlin
f8d69ed01b Merge branch 'dev' into code_intepreter 2024-01-31 18:14:22 +08:00
geekan
ad1edf6092 refine comments 2024-01-31 17:36:04 +08:00
geekan
54388d0a87 refine comments 2024-01-31 17:34:48 +08:00
stellahsr
c44d08ceb0 rm config get in dev 2024-01-31 16:30:50 +08:00
stellahsr
7d38181f56 Merge branch 'code_intepreter' of https://gitlab.deepwisdomai.com/agents/data_agents_opt into code_intepreter
resolve conflict
2024-01-31 16:05:40 +08:00
stellahsr
d74dab9bec update sd ut 2024-01-31 16:03:16 +08:00
shenchucheng
fc412e55a3 fix tests/metagpt/learn/test_google_search.py error 2024-01-31 15:58:26 +08:00
yzlin
30de3b4d64 fix message init bug 2024-01-31 15:08:40 +08:00
geekan
41907b1fe3 add action graph, solver, search space. 2024-01-31 14:14:12 +08:00
yzlin
a9ef85b282 add gptv config 2024-01-31 11:35:05 +08:00
yzlin
56f5dc9f2e fix planner serialization bug, add test data 2024-01-31 10:49:49 +08:00
yzlin
f9519ca417 change ways of using config 2024-01-31 00:39:57 +08:00
yzlin
2fcb2a1cfe Merge branch 'dev' into code_intepreter 2024-01-31 00:08:09 +08:00
yzlin
274747e72f fix test_debug_code 2024-01-30 22:20:34 +08:00
yzlin
ede04f20f6 fix test_write_analysis_code 2024-01-30 22:04:00 +08:00
yzlin
4a7929d880 rm immature code, improve naming, add unittest test rsp cache 2024-01-30 21:04:33 +08:00
yzlin
606f1b8f9c accept goal during run; move more logic from role to planner 2024-01-30 16:43:58 +08:00
莘权 马
06b4e4767a feat: generate_repo return ProjectRepo 2024-01-29 10:20:05 +08:00
程允权
a68c3442bc Refactor get_choice_delta_text for safer dict access 2024-01-28 13:49:31 +08:00
huzixia
c3b4c698d8 update repair_llm_raw_output.py 2024-01-27 18:23:57 +08:00
huzixia
11f70ca9b1 modify code based on feedback of action_node.py and repair_llm_raw_output.py, add code in test_repair_llm_raw_output.py 2024-01-27 18:06:52 +08:00
huzixia
8b5f7848fa delete PR dir 2024-01-27 17:00:59 +08:00
huzixia
43b069f453 Addtionly, if you do not want JSONDecodeError to occur, you can add 'Delete comments in json' after FORMAT_CONSTRAINT in action_node.py 2024-01-26 23:20:16 +08:00
huzixia
ed54f6b86a To avoid JSONDecodeError:
Remove comments in output json str, after json value content, maybe start with #, maybe start with //, particularly, it is not inside the string value

Addtionly, if you do not want JSONDecodeError to occur, you can add 'Delete comments in json' after FORMAT_CONSTRAINT in action_node.py
2024-01-26 22:59:10 +08:00
geekan
aada81bfe6 fix conflicts 2024-01-26 19:06:41 +08:00