Commit graph

475 commits

Author SHA1 Message Date
better629
4e13eaca6e update zhipu api due to new model and api; repair extra invalid generate output; update its unittest 2024-01-17 16:28:13 +08:00
better629
17479a2360 fix system_prompt param that llm not support from issue 725 2024-01-10 11:26:23 +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
geekan
d4d4a1639a
Merge pull request #694 from garylin2099/llm_mock
enforce mock on online test
2024-01-08 10:18:59 +08:00
geekan
aacb55cc66
Merge pull request #696 from shenchucheng/fix-selenium-ut-error
fix selenium test_scrape_web_page proxy error
2024-01-07 17:51:49 +08:00
shenchucheng
7a0463e6f6 fix selenium test_scrape_web_page proxy error 2024-01-07 15:43:06 +08:00
yzlin
8fb5919181 enforce mock on online test 2024-01-05 20:38:07 +08:00
莘权 马
44d8d2f222 feat: fix bug 2024-01-05 19:31:03 +08:00
莘权 马
faaf6daa6b Merge branch 'main' of https://github.com/geekan/MetaGPT into geekan/main 2024-01-05 19:19:46 +08:00
莘权 马
8a9c9de4f2 fixbug: unit test 2024-01-05 19:19:23 +08:00
voidking
f7d04d7f81 pr trigger unittest, maintainer approve the unittest 2024-01-05 17:39:13 +08:00
geekan
230192f5e0
Merge pull request #685 from garylin2099/llm_mock
Reduce test time with a global LLM mock
2024-01-05 17:11:25 +08:00
yzlin
bd4a35fd94 rm sd, fix qdrant 2024-01-05 16:43:41 +08:00
shenchucheng
fba730390c fix test_scrape_web_page proxy error 2024-01-05 16:42:57 +08:00
yzlin
a3dc6aa7e3 Merge branch 'main' into llm_mock 2024-01-05 15:28:03 +08:00
yzlin
63081245b9 add explanation 2024-01-05 14:46:59 +08:00
yzlin
1249d12b6f add openai api call switch; fix ocr 2024-01-05 14:34:44 +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
yzlin
ab04f610a3 rm redundant 2024-01-04 20:58:44 +08:00
yzlin
106543b3ca mock writeprd new filename, improve cache usefulness 2024-01-04 20:45:38 +08:00
yzlin
271ecc30a2 Merge branch 'main' into llm_mock 2024-01-04 17:19:09 +08:00
yzlin
18ffd92333 mv mockllm 2024-01-04 16:58:11 +08:00
yzlin
d11f7cbef6 rm redundant llm_mock fixture use 2024-01-04 15:33:06 +08:00
yzlin
5c545febc3 cache multiple rsp in one test fn, switch cache to global use 2024-01-04 15:28:46 +08:00
geekan
963a489c5d
Merge pull request #678 from better629/feat_utbug_fix
fix repair_llm_raw_output ut due to import order problem
2024-01-04 12:58:54 +08:00
better629
e722b76fd8 rm useless print 2024-01-04 11:58:07 +08:00
better629
3ed8ddf37f fix repair_llm_raw_output ut due to import order problem 2024-01-04 11:52:41 +08:00
莘权 马
51a8691722 fixbug: fix unit test 2024-01-04 10:10:13 +08:00
莘权 马
465cd1e0af Merge branch 'geekan/main' into geekan/dev 2024-01-04 00:22:33 +08:00
莘权 马
7bdaf963b4 feat: +mock 2024-01-04 00:19:28 +08:00
shenchucheng
86e3638ce4 mock serpapi/serper response 2024-01-03 18:16:00 +08:00
莘权 马
9d080e22d6 feat: parse class view 2024-01-03 17:39:58 +08:00
莘权 马
718dd0fd9e feat: parse class view 2024-01-03 17:35:09 +08:00
geekan
42bb40a0f6
Merge pull request #669 from garylin2099/llm_cache
Add llm response cache to speed up testing
2024-01-03 16:54:33 +08:00
geekan
42d6e75d2e comment zhipu ai proxy 2024-01-03 16:05:17 +08:00
geekan
99e10b235b make tot follow format in 3.5-turbo 2024-01-03 14:42:13 +08:00
yzlin
9f298cd022 show failed tests 2024-01-03 14:23:53 +08:00
geekan
feb89ec17f repo_parser add tests 2024-01-03 14:09:42 +08:00
yzlin
41cc9ceab6 Merge branch 'dev' of https://github.com/garylin2099/MetaGPT into dev 2024-01-03 12:51:25 +08:00
yzlin
075bd9f747 add rsp_cache.json and some formatting 2024-01-03 10:58:22 +08:00
shenchucheng
269750e616 fix search_engine_serper arbitrary types error 2024-01-03 10:18:55 +08:00
garylin2099
9efb9e6e80
Merge branch 'geekan:dev' into dev 2024-01-03 00:21:34 +08:00
yzlin
7aa185c477 add llm_mock in actions, roles, serialize_deserialize 2024-01-03 00:17:02 +08:00