Commit graph

91 commits

Author SHA1 Message Date
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
better629
96ce036bd4 add zhipuai api with extra async invoke methods 2023-11-18 21:41:56 +08:00
shenchucheng
771a750e34 release 0.3.0 2023-11-10 14:56:31 +08:00
Stitch-z
96d4f3b7e4 Merge branch 'main' into feature-invoice-ocr-assistant 2023-10-10 14:27:26 +08:00
Stitch-z
e3ecb88293 Feature: invoice ocr assistant 2023-10-10 14:26:03 +08:00
geekan
8129710026
Merge pull request #358 from femto/fix/ltm_serialize
fix ltm serialize_message
2023-09-30 23:37:53 +08:00
femto
6091f1dd73 fix parse 2023-09-26 12:21:46 +08:00
femto
04cf32e1ac fix ltm serialize_message 2023-09-25 13:36:34 +08:00
femto
53afe146b8 fix ltm serialize_message 2023-09-24 14:18:03 +08:00
stellaHSR
c4283d0538
Merge pull request #345 from shenchucheng/main
Fix 'OSError: [WinError 193] %1 is not a valid Win32 application' on …
2023-09-22 16:34:33 +08:00
femto
7b34c433cd
Merge branch 'main' into feature/json_write_prd 2023-09-21 12:00:10 +08:00
stellaHSR
ab95b55662
Merge pull request #343 from Stitch-z/main
Fix research action bug && Optimize universal file operation tools
2023-09-21 11:08:40 +08:00
Ben
58a0ae0a35
Merge branch 'main' into add_open_interpreter 2023-09-21 10:38:57 +08:00
shenchucheng
88baa1caa3 Fix 'OSError: [WinError 193] %1 is not a valid Win32 application' on Windows when converting Mermaid charts 2023-09-20 21:35:50 +08:00
stellaHSR
d6649819f4
Merge pull request #327 from femto/feature/sk_agent
Feature/sk agent with basic planner and action planner
2023-09-20 16:53:31 +08:00
Stitch-z
46930f8343 Update: cancel block writing when writing files && change the file printing log level to debug level 2023-09-20 15:01:47 +08:00
Stitch-z
35067ab0d1 Update: optimize universal file read ability. 2023-09-20 14:07:00 +08:00
Stitch-z
6ae0a6a98b Update: optimize universal file read ability. 2023-09-20 14:05:48 +08:00
femto
0d9bbcb863 json/markdown format 2023-09-20 12:09:10 +08:00
Stitch-z
97ab38ac7c Resolve PR issues 2023-09-20 12:02:46 +08:00
femto
7ec77e0ad7 json/markdown format 2023-09-19 21:31:27 +08:00
Stitch-z
97be431127 Fix research action bug && Optimize universal file operation tools 2023-09-19 16:26:33 +08:00
femto
cf05287cff fix conflict 2023-09-19 13:27:52 +08:00
femto
74217a1df3 modified 2023-09-19 12:23:22 +08:00
hy.li
494226b80a compress index.html 2023-09-18 17:25:15 +08:00
femto
7d894f391d make_sk_kernel add_chat_service "chat_completion" 2023-09-18 13:22:39 +08:00
刘棒棒
754fa5ccbe add support for open-interpreter. 2023-09-13 15:47:51 +08:00
hy.li
e947ce5fea use config for PYPPETEER_EXECUTABLE_PATH 2023-09-13 14:39:51 +08:00
femto
d9f64363c3 sk agent 2023-09-13 13:35:12 +08:00
hy.li
69ea116d1a change to async 2023-09-13 12:41:38 +08:00
Steven Lee
b657a3496c
Merge branch 'geekan:main' into main 2023-09-12 23:00:27 +08:00
Steven Lee
95391ca32d bug fix 2023-09-12 08:44:50 +00:00
Steven Lee
a3d1c3362f bug fix 2023-09-12 07:23:07 +00:00
hy.li
10ce3ed702 more options to convert mermaid 2023-09-11 16:59:41 +08:00
femto
d18a419d4b json to markdown 2023-09-11 12:48:44 +08:00
Stitch-z
479977d27a
Merge pull request #6 from Stitch-z/feature-tutorial-assistant
update file tool log
2023-09-11 10:21:38 +08:00
Stitch-z
90b045b11a update file tool log 2023-09-11 10:20:05 +08:00
Stitch-z
28f7c84901
Merge branch 'geekan:main' into main 2023-09-11 10:10:57 +08:00
Steven Lee
65db088245
Merge branch 'geekan:main' into main 2023-09-11 10:10:14 +08:00
femto
dd8be8a382 parse_triple_quote 2023-09-08 16:32:10 +08:00
femto
6755de0ee8 ruff fix 2023-09-08 12:12:33 +08:00
femto
1799993447 action json 2023-09-07 21:54:31 +08:00
Stitch-z
5405d9cf32 update: Add exception handling for write file operation. 2023-09-07 20:09:04 +08:00
Stitch-z
b2b227391a update: Add exception handling for write file operation. 2023-09-07 20:08:02 +08:00
Stitch-z
d83d1e105c update: format directory structure and extract universal file operation class 2023-09-07 19:55:50 +08:00
Chen Zhang
c0aab24b29 fix: windows compatibility 2023-09-06 17:47:35 +08:00
hy.li
a386c7e974 playwright version mmdc 2023-09-04 23:30:27 +08:00
krylo
1f469d55b5
Merge branch 'geekan:main' into main 2023-08-29 10:26:42 -05:00
brucemeek
a0e6d20034
Merge branch 'geekan:main' into main 2023-08-17 11:02:27 -05:00
shenchucheng
4da1a7d0ac Fix the 'get_max_completion_tokens' function to prevent reaching the maximum limit. 2023-08-17 17:47:03 +08:00