Commit graph

2071 commits

Author SHA1 Message Date
better629
d3f6e38e8a add qianfan ut code and update xx_llm from xx_gpt 2024-02-07 18:32:32 +08:00
better629
15a9c5e941 simplify _update_costs and related code 2024-02-07 16:16:14 +08:00
better629
d180d3912e add qianfan api support 2024-02-07 15:56:01 +08:00
yzlin
5abc5c3812 add async fn type to tool schema 2024-02-06 15:49:14 +08:00
yzlin
3852e05195 Merge branch 'code_interpreter' into ci_dev 2024-02-06 15:06:35 +08:00
yzlin
5f758cdf95 Merge branch 'dev' into ci_dev 2024-02-06 15:03:29 +08:00
better629
1f172b307c fix RecursionError: maximum recursion depth exceeded while calling a Python object when run tests/metagpt/environment/test_base_env.py 2024-02-06 12:52:53 +08:00
geekan
da1231129a
Merge pull request #842 from mannaandpoem/dev_add_gpt_v
Improve gpt_v_generator tool
2024-02-06 09:54:37 +08:00
mannaandpoem
675b96b0f5 remove attribute openai_vision_model and vision_max_tokens and method test_generate_webpages_with_style_and_script 2024-02-06 09:07:29 +08:00
yzlin
9b72370cbe update webscraping tool 2024-02-05 22:15:47 +08:00
mannaandpoem
6015c16618 remove get_result method and improve gpt_v_generator.py and test_gpt_v_generator.py. 2024-02-05 21:48:59 +08:00
geekan
23c27627ce
Merge pull request #736 from garylin2099/code_intepreter
Integrate CodeIntepreter
2024-02-05 20:46:37 +08:00
yzlin
402704379c improve details 2024-02-05 16:32:41 +08:00
yzlin
9343a6bd2c mv pip success logic, rm redundant prompt 2024-02-05 15:40:41 +08:00
yzlin
748aabce70 add future; rename writecodebygenerate tools 2024-02-05 12:00:18 +08:00
yzlin
20393e9d7a rename tool type 2024-02-05 11:38:07 +08:00
yzlin
a35f5366b8 raise error directly if invalid json 2024-02-05 00:20:23 +08:00
yzlin
a609946029 mv tool_type def 2024-02-05 00:05:16 +08:00
yzlin
ca6749b5f1 Merge branch 'del-_parse_arguments-in-openai_api.py' into code_intepreter 2024-02-04 23:41:39 +08:00
yzlin
8c65ed02b8 rm redundant docstring 2024-02-04 23:27:04 +08:00
yzlin
4cfee3ba27 rm code steps, mv planner, mv ci mle 2024-02-04 23:23:18 +08:00
yzlin
55dac10146 fix bug and update cache 2024-02-04 20:34:46 +08:00
yzlin
321a4c0d75 rm redundant function and docstring in libs 2024-02-04 20:25:49 +08:00
刘棒棒
4caa1ece81 Revert CodeParser.parse_code function to version 0.6.6. 2024-02-04 18:07:16 +08:00
刘棒棒
d1deb0ff7c Remove _parse_arguments function and comment out handle_exception decorator on get_choice_function_arguments. 2024-02-04 18:03:27 +08:00
yzlin
24d2c5c8e6 isolate codes to be restructured in the future 2024-02-04 10:45:02 +08:00
better629
f2dbb51094 update code due to failed unittests 2024-02-03 13:33:02 +08:00
yzlin
c6ac7ef8b8 fix web scrape init 2024-02-02 20:52:56 +08:00
yzlin
891e35b92f Merge branch 'dev' into code_intepreter 2024-02-02 20:45:45 +08:00
林义章
a74afd6b16 Merge branch 'ci_debugcode_modify' into 'code_intepreter'
1. merge run and run_reflection; 2. remove useless code

See merge request agents/data_agents_opt!74
2024-02-02 12:18:59 +00:00
yzlin
4938896dd8 rm yaml, add docstring 2024-02-02 19:58:56 +08:00
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
shenchucheng
f742827586 fix not fully defined error 2024-02-02 18:50:28 +08: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
stellahsr
c9f6b7cc8d 1. merge run and run_reflection; 2. remove useless code 2024-02-02 18:48:23 +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
shenchucheng
3125f4c0c7 remove extra value after model_validator in Role/ContextMixin 2024-02-02 16:35:51 +08:00
shenchucheng
f6824b078c fix ContextMixin ut error 2024-02-02 16:13:29 +08:00
geekan
0118712ff8
Merge pull request #826 from mannaandpoem/dev_compatible_with_windows_path
modify re.sub(r"\\+", '/') to as_posix()
2024-02-02 16:03:39 +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
mannaandpoem
18b0eaa6fd compatible with windows path 2024-02-02 15:49:24 +08:00
geekan
6d60d3210a
Merge pull request #825 from mannaandpoem/dev_compatible_with_windows_path
fixbug: compatible with windows path
2024-02-02 15:49:13 +08:00
mannaandpoem
5edee1299c compatible with windows path 2024-02-02 15:37:00 +08:00
yzlin
35438e7b03 role pydantic init 2024-02-02 15:21:54 +08:00
mannaandpoem
dcb0623d46 1. Dev compatible with windows path
2. add @pytest.mark.skip
2024-02-02 14:59:16 +08:00
geekan
119bc0d89a
Merge pull request #809 from better629/feat_new_env
Feat env-refactor
2024-02-02 14:31:37 +08:00