Commit graph

147 commits

Author SHA1 Message Date
stellaHSR
f73fa072df
Merge pull request #121 from flyi/test-proxy
fix the bug can not use proxy
2023-08-23 15:53:29 +08:00
shenchucheng
d2aaafd235 Suppress the pydantic.ValidationError in SearchAndSummarize 2023-08-17 21:26:11 +08:00
shenchucheng
4da1a7d0ac Fix the 'get_max_completion_tokens' function to prevent reaching the maximum limit. 2023-08-17 17:47:03 +08:00
shenchucheng
6e6e91660d Make the SearchEngine more user-friendly. 2023-08-17 17:37:20 +08:00
shenchucheng
7e329a478a Make the report output directory if it doesn't exist. 2023-08-17 17:14:43 +08:00
stellaHSR
625342199a
Merge pull request #194 from flyi/config-api-key
fix exception when using Anthropic_API_KEY rather than OPENAI_API_KEY
2023-08-17 12:04:07 +08:00
stellaHSR
9dea1f084f
Merge pull request #138 from alitrack/main
remove config: update_costs
2023-08-15 10:30:50 +08:00
stellaHSR
36e090695f
Merge pull request #221 from denniseilander/denniseilander-patch-1-1
Fix: ImportError: cannot import name 'ProductManager' from 'metagpt.roles'
2023-08-14 23:42:21 +08:00
stellaHSR
53a96ff119
Merge pull request #207 from hezhaozhao-git/qdrant
add qdrant store
2023-08-14 22:56:18 +08:00
hezhaozhao
5c51007610 optimize qdrant models import 2023-08-14 22:20:46 +08:00
root
20adbdcf76 add param annotations for qdrant 2023-08-14 22:00:34 +08:00
root
80506ec3ce add param annotations for qdrant 2023-08-14 21:59:48 +08:00
Dennis
39896c40fe
Update __init__.py 2023-08-14 13:33:00 +02:00
Chao Lan
2aef3c5f3a
Merge branch 'geekan:main' into test-proxy 2023-08-14 17:25:46 +08:00
hy.li
9373634e86 always update_costs when set calc_usage=True 2023-08-13 16:54:35 +08:00
hezz
cb11ec7bc7 fix ruff check error 2023-08-13 14:14:14 +08:00
hezz
dc38226b59 add qdrant store 2023-08-13 13:56:29 +08:00
Chao Lan
23274551fa fix raise exception when using Anthropic_API_KEY rather than OPENAI_API_KEY 2023-08-11 09:25:36 +08:00
Steven Lee
bab605ac44
Merge branch 'main' into main 2023-08-10 21:41:22 +08:00
hy.li
eff26f5cd7 rm pass 2023-08-10 21:33:31 +08:00
王同贵
ce6b8a95dd Merge remote-tracking branch 'origin/main' into dev/wtg
# Conflicts:
#	metagpt/config.py
#	metagpt/provider/openai_api.py
2023-08-10 20:46:56 +08:00
stellaHSR
2e1e647628
Merge pull request #161 from shenchucheng/main
Feature/researcher
2023-08-10 20:21:24 +08:00
stellaHSR
9ee2421aec
Merge pull request #144 from jansalvador/main-1
Update run_code.py
2023-08-10 20:18:51 +08:00
shenchucheng
fc88a0edd5 Updated docstring for the prompt_template in the generate_prompt_chunk function 2023-08-09 21:55:46 +08:00
shenchucheng
f13d433f78 warning if using the Researcher role with an untested language 2023-08-09 21:50:42 +08:00
shenchucheng
e43ae21d98 Optimize: Update certain prompt formats. 2023-08-09 20:28:31 +08:00
Chao Lan
848eb37341 set OPENAI_API_BASE when using proxy 2023-08-09 03:24:51 +00:00
shenchucheng
25d2621198 add Researcher role 2023-08-08 22:59:26 +08:00
王同贵
90c687bbea fix on using loguru, but not logging 2023-08-08 20:43:55 +08:00
MORDECAI ETUKUDO
ed644be4f5
Translation of chinese comment to english for easy understanding 2023-08-08 12:44:33 +01:00
MORDECAI ETUKUDO
2f037cbb00
Translate chinese to english comment 2023-08-08 12:38:31 +01:00
MORDECAI ETUKUDO
556c428c3f
Translate all Chinese comment to english for easy understanding by non chinese developer 2023-08-08 12:34:13 +01:00
MORDECAI ETUKUDO
2ec1425486
Update llm.py comment form chinese to english
Added and english translation of the chinese version for the comments
2023-08-08 12:31:57 +01:00
MORDECAI ETUKUDO
a22643dbd8
Translate all Chinese comment to english for easy understanding by non chinese developer 2023-08-08 11:54:31 +01:00
MORDECAI ETUKUDO
f7d8fb3889
Translation of chinese comment to english for easy understanding 2023-08-08 11:47:17 +01:00
王同贵
ec4c773c80 adjust "timeout" config param into _cons_kwargs 2023-08-08 18:26:15 +08:00
shenchucheng
ede23b2fe9 Unified WebPage object return for the WebBrowserEngine API 2023-08-08 12:57:04 +08:00
shenchucheng
c62c870ab9 Unified Search Engine API with support for returning structured data. 2023-08-08 12:56:37 +08:00
stellaHSR
930d18962f
Merge pull request #124 from shenchucheng/main
add write docstring action
2023-08-08 11:31:12 +08:00
jansalvador
d0e2c2300a
Update run_code.py
Typo
2023-08-07 17:46:16 +02:00
shenchucheng
8b1fff2215 add docs for write_docstring.py and parse python code with retry 2023-08-07 20:58:01 +08:00
voidking
7fc5dd9da2 bugfix: #128 Delete special charactors at filename 2023-08-07 17:00:30 +08:00
hy.li
89b4361ef4 remove config: update_costs 2023-08-07 16:32:04 +08:00
王同贵
8da952a04c 1. use English as much as possible.
2. handle callback in function, no need to set reraise=True in "@retry"
3. fix log format in loguru
2023-08-07 16:26:52 +08:00
Chao Lan
c1c73a2357
no longer checking the value of OPENAI_API_BASE 2023-08-07 16:26:31 +08:00
shenchucheng
50cdba3052
Update write_docstring.py to make the template of the prompt more clear 2023-08-07 10:16:00 +08:00
geekan
0601ad9c76
Merge pull request #123 from alitrack/main
Fixed: Removed quotes in workspace path
2023-08-07 09:39:12 +08:00
shenchucheng
cfb26155c6
Update write_docstring.py to fix wrong word 2023-08-07 01:29:25 +08:00
shenchucheng
6c0531347f add docs for metagpt/actions/write_docstring.py 2023-08-06 19:45:06 +08:00
shenchucheng
bec5778dd0 add write docstring action 2023-08-06 18:10:37 +08:00