Commit graph

85 commits

Author SHA1 Message Date
Andre Friedel
060ffb7e39
Update const.py 2024-07-07 20:17:02 -04:00
YangQianli92
7d77dbba4a
Update const.py 2024-04-17 11:51:36 +08:00
莘权 马
b42cf5cbd6 refactor: timeout 0 2024-03-21 13:21:24 +08:00
seehi
ec220e6463 upgrade llama-index to v0.10 2024-03-08 00:41:00 +08:00
莘权 马
739452edbb feat: merge geekan:dev 2024-02-19 11:02:10 +08:00
geekan
a9b3098307
Merge pull request #860 from mannaandpoem/dev_lxb
Remove CODE_PLAN_AND_CHANGE_FILENAME and add code_plan_and_change_doc in CodingContext
2024-02-07 11:47:15 +08:00
mannaandpoem
13d6159468 1. remove CODE_PLAN_AND_CHANGE_FILENAME
2. add code_plan_and_change_doc to _new_code_actions
2024-02-04 17:23:00 +08:00
莘权 马
fb7518c12b feat: +visual graph repo 2024-01-31 23:40:04 +08:00
yzlin
2fcb2a1cfe Merge branch 'dev' into code_intepreter 2024-01-31 00:08:09 +08:00
mannaandpoem
76d4451fc6 merge main to dev 2024-01-22 13:50:21 +08:00
mannaandpoem
e1b783ca14 Merge branch 'main' into incremental_development
# Conflicts:
#	metagpt/schema.py
2024-01-19 19:53:17 +08:00
mannaandpoem
1959743d0b update write_code_plan_and_change_an.py and add it to _think and _act process 2024-01-19 13:36:38 +08:00
mannaandpoem
95ccd980f8 1. rename and modify plan to code plan and change
2. modify name of ActionNode instance
2024-01-19 11:26:58 +08:00
mannaandpoem
42565c39e3 1. rename and modify guideline to plan
2. update prompt in ActionNode
3. add code comment
4. refactor Guideline code structure
2024-01-19 10:15:18 +08:00
mannaandpoem
5190dc4462 1. rename and modify guideline to plan
2. update prompt in ActionNode
3. add code comment
4. refactor Guideline code structure
2024-01-19 09:03:24 +08:00
yzlin
c8da839afe moving files 2024-01-18 21:22:34 +08:00
mannaandpoem
a6d56bd748 1. add mock.py in tests\data\incremental_dev_project
2. add mock for test case of ActionNode
3. add path of Guideline file in const.py
4. update engineer.py
2024-01-17 18:47:59 +08:00
莘权 马
273b85d609 feat: remove OPTIONS 2024-01-12 21:56:59 +08:00
yzlin
88270482d0 fix libs path 2024-01-12 16:35:18 +08:00
莘权 马
2ed7c50822 Merge branch 'dev' of https://github.com/geekan/MetaGPT into geekan/dev 2024-01-11 23:16:39 +08:00
geekan
312d327d55 test for mixin 2024-01-11 22:30:26 +08:00
yzlin
437bbca466 make tool ask review 2024-01-11 14:10:52 +08:00
莘权 马
102ae2ca67 feat: Implementation of ProjectRepo 2024-01-08 22:15:43 +08:00
莘权 马
eabe0224c5 feat: +rebuild project
feat: parse pass
2024-01-02 22:34:48 +08:00
Stitch-z
ac6ec8e152 Update: 发票ocr助手单测数据路径改为从const获取 2023-12-28 22:32:40 +08:00
geekan
9f653ea60b tuning example and config 2023-12-25 23:13:25 +08:00
莘权 马
780caf011d fixbug: 基于全memory数据存储的流程异常恢复 2023-12-25 12:42:23 +08:00
geekan
2502dd3651 fix conflict 2023-12-23 19:48:01 +08:00
莘权 马
9a1909bb95 feat: merge geekan:main 2023-12-22 16:40:04 +08:00
莘权 马
863a30e903 feat: +pylint class view 2023-12-21 12:09:39 +08:00
better629
dd640991b7 serdeser rebase from main 2023-12-18 18:13:42 +08:00
stellahsr
c8570036fc update basic code for serialize 2023-12-18 16:57:00 +08:00
莘权 马
5593008110 feat: merge fixbug/geekan/v0.5-release 2023-12-18 16:39:02 +08:00
better629
949bc747f9 add mg ser&deser 2023-12-18 15:17:08 +08:00
shenchucheng
355ee8faa8 Set current working directory (cwd) to default project root in PyPI mode 2023-12-17 00:23:21 +08:00
shenchucheng
335a025c03 fix cContextVar OPTIONS LookupError 2023-12-15 19:38:48 +08:00
莘权 马
ea21217a69 feat: merge send18 2023-12-15 16:29:55 +08:00
莘权 马
7effe7f74c feat: merge send18:dev 2023-12-14 15:06:04 +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
莘权 马
9d84c8f047 feat: +SummarizeCode, refactor project_name 2023-12-08 10:34:57 +08:00
better629
5e3607f85b update environment/message to BaseModel, update the ser&deser of roles/actions 2023-11-30 15:18:24 +08:00
莘权 马
17bf646539 feat: merge geekan:cli-etc 2023-11-30 12:53:02 +08:00
莘权 马
78548c2ddc feat: merge geekan:cli-etc 2023-11-28 18:16:50 +08:00
better629
d99b4c62e3 add mg ser&deser 2023-11-28 09:29:00 +08:00
莘权 马
2cd7d266dd feat: merge Config class of send18:dev branch 2023-11-27 21:20:46 +08:00
莘权 马
fa675ea315 refactor: 代码优化 2023-11-27 19:32:33 +08:00
莘权 马
70a0be3300 feat: +annotation 2023-11-27 15:49:05 +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
莘权 马
10d9f33150 refactor: use MESSAGE_ROUTE_TO_NONE 2023-11-23 23:04:41 +08:00