Commit graph

148 commits

Author SHA1 Message Date
geekan
d3c135edff refine utils code 2023-12-19 14:17:54 +08:00
geekan
6f166603c4 add function import, avoid "import" 2023-12-19 13:51:51 +08:00
geekan
e8f45c4072 delete utils.py, move function to common.py 2023-12-19 13:40:54 +08:00
geekan
ad8f7ebfb9 token_counter: add gpt-3.5-turbo-16k in list and add comment for them 2023-12-19 11:49:06 +08:00
geekan
b97ca3af7e feat: resolve conflicts 2023-12-15 11:14:41 +08:00
莘权 马
290fb8b8d0 refactor: format 2023-12-14 21:10:46 +08:00
莘权 马
829dfd8997 feat: merge geekan:main 2023-12-14 20:34:04 +08:00
geekan
bfdb8415ad tuning action node code 2023-12-14 16:01:53 +08:00
莘权 马
88bbc75d56 fixbug: gitignore error after project renamed 2023-12-13 22:19:55 +08:00
莘权 马
4cb3485c86 feat: After users provide bug feedback, move directly to the WriteCode stage of the process. 2023-12-12 21:32:03 +08:00
better629
12208154ee simplify code 2023-12-12 15:06:20 +08:00
莘权 马
4fcfa90d47 feat: rebase geekan:main 2023-12-12 11:58:15 +08:00
better629
8c1b9db7d2
Merge branch 'main' into feat_repair_llmoutput 2023-12-12 00:27:18 +08:00
Yi Lin
9d922941cf add gpt-4-turbo and gpt-3-turbo-1106 in token count
Signed-off-by: Yi Lin <teroincn@gmail.com>
2023-12-11 22:42:13 +08:00
莘权 马
9d84c8f047 feat: +SummarizeCode, refactor project_name 2023-12-08 10:34:57 +08:00
better629
fb69c107fe rm useless deepcopy 2023-12-04 21:56:43 +08:00
莘权 马
6fa3deef00 feat: merge geekan:cli-etc 2023-11-29 20:58:41 +08:00
莘权 马
94043a89f4 feat: merge geekan:cli-etc 2023-11-29 20:12:03 +08:00
莘权 马
7b44fccf8d feat: merge geekan:cli-etc 2023-11-29 16:22:05 +08:00
莘权 马
78548c2ddc feat: merge geekan:cli-etc 2023-11-28 18:16:50 +08:00
莘权 马
726eadf1cc refactor: 代码优化 2023-11-27 19:54:41 +08:00
莘权 马
4c99107a33 refactor: 代码优化 2023-11-27 19:23:20 +08:00
莘权 马
bd5daeb4e6 feat: +annotation 2023-11-27 16:27:35 +08:00
莘权 马
0c84c2c212 feat: +annotation 2023-11-27 16:21:53 +08:00
geekan
331d74059f 1. 动作优化
1. SummarizeCode动作:用于基于代码进行总结,思考bug、逻辑、todo
  2. CodeReview动作优化:目前强制要求回答问题,有更高的成功率了
2. 数据结构
  1. Document的标准化:Env->Repo->Document,其中Document/Asset/Code都只用Document
    1. 原用于检索的Document改为IndexableDocument
  2. Repo结构引入:用于Document装载与元数据装载
  3. RepoParser引入:写了一个简单的AST parser(后续可能要换tree-sitter),给出了整库symbol
3. 配置优化
  1. 默认更换为gpt-4-1106-preview,以获得最好的效果与成本
  2. 提供~/.metagpt作为配置最高优先级目录,从中读取config.yaml
  3. workspace可以灵活指定了,在config中配置
4. metagpt作为默认命令行,而非python startup.py
  1. 使用新的METAGPT_ROOT生成方式,而非寻找git,以便cli安装
  2. 命令行由fire换为了typer,它会带来相对更好的体验
  3. project_name可以灵活指定了,在metagpt命令行输入中配置
5. 其他
  1. BossRequirement -> UserRequirement
  2. 大量错误文本的修正,增加了可读性
  3. 中量提示词优化,稍微提升了一些准确率
  4. 暂时屏蔽了LongtermMemory相关逻辑,这个逻辑底层调用了langchain的FAISS,会带来~5秒加载耗时
  5. 修复了安装包中的部分描述错误
2023-11-27 15:47:06 +08:00
莘权 马
882f22da35 feat: 流程调通 2023-11-24 19:56:27 +08:00
莘权 马
8ce6914df2 feat: git archive 2023-11-24 14:04:01 +08:00
莘权 马
938fa8a446 feat: git archive 2023-11-24 13:48:25 +08:00
莘权 马
75dcc8d534 fixbug: DebugError 2023-11-24 13:30:00 +08:00
莘权 马
ec3dd004af feat: Change the operation of transmitting file content during the QA process to transmitting file names instead. 2023-11-23 22:41:44 +08:00
better629
c25d5a73d1 add ut test_repair_invalid_json 2023-11-23 11:53:11 +08:00
莘权 马
438fbe28c0 refactor: save files 2023-11-23 11:29:09 +08:00
better629
502bb2c449 fix extract_content_from_output 2023-11-23 11:21:25 +08:00
better629
1a67878b7e move after_log as general one 2023-11-23 09:29:40 +08:00
better629
642335317b add independent openllm and fireworks config fields, add llm output postprecess plugin 2023-11-23 01:46:14 +08:00
莘权 马
9339eab20c feat: archive 2023-11-22 20:40:42 +08:00
莘权 马
fb2167cccf feat: merge geekan:env_factor 2023-11-22 17:19:34 +08:00
莘权 马
2bf8ef8c6a feat: RFC 135 2023-11-22 17:08:00 +08:00
莘权 马
cda032948f refactor: pre-commit run --all-files 2023-11-22 16:26:48 +08:00
better629
fc5c01e219 fix 2023-11-22 13:56:49 +08:00
better629
fc4ec5a944 update retry_parse_json_text 2023-11-22 13:01:16 +08:00
better629
c49b832dee add trigger repair_llm_output for open llm 2023-11-21 20:34:37 +08:00
better629
c233699275 add aiohttp encapsulation 2023-11-21 20:33:58 +08:00
莘权 马
85e3620638 feat: +file repository 2023-11-20 19:40:15 +08:00
莘权 马
29003a9beb feat: +file repository 2023-11-20 19:36:54 +08:00
莘权 马
f6dab7e054 Merge branch 'feature/rfc135_git_repository_shenquanma' into feature/rfc135_file_repository_shenquanma 2023-11-20 17:45:18 +08:00
莘权 马
913cfaebab feat: archive 2023-11-20 17:41:16 +08:00
莘权 马
9f7da1c768 feat: archive 2023-11-20 17:34:44 +08:00
莘权 马
990d79179f feat: archive 2023-11-20 17:33:24 +08:00
莘权 马
af716c6c30 feat: +annotation 2023-11-20 16:47:12 +08:00