huzixia
c3b4c698d8
update repair_llm_raw_output.py
2024-01-27 18:23:57 +08:00
huzixia
11f70ca9b1
modify code based on feedback of action_node.py and repair_llm_raw_output.py, add code in test_repair_llm_raw_output.py
2024-01-27 18:06:52 +08:00
huzixia
8b5f7848fa
delete PR dir
2024-01-27 17:00:59 +08:00
huzixia
ed54f6b86a
To avoid JSONDecodeError:
...
Remove comments in output json str, after json value content, maybe start with #, maybe start with //, particularly, it is not inside the string value
Addtionly, if you do not want JSONDecodeError to occur, you can add 'Delete comments in json' after FORMAT_CONSTRAINT in action_node.py
2024-01-26 22:59:10 +08:00
geekan
59afc5301f
update token counter
2024-01-26 15:08:08 +08:00
geekan
cfadd54a3a
Update token_counter.py
2024-01-26 15:02:34 +08:00
mannaandpoem
e1b783ca14
Merge branch 'main' into incremental_development
...
# Conflicts:
# metagpt/schema.py
2024-01-19 19:53:17 +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
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
莘权 马
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
mannaandpoem
e3cd1a2cc1
Update prompt and fix up some bug
2024-01-04 10:41:36 +08:00
mannaandpoem
24e617b362
Merge main branch
2024-01-03 19:48:46 +08:00
mannaandpoem
994cfe814b
1. Added test_increment.py
...
2. Modify prompt in design_api_an.py
3. Modify rename_root function using method of copy in git_repository.py
2024-01-03 18:10:53 +08:00
莘权 马
718dd0fd9e
feat: parse class view
2024-01-03 17:35:09 +08:00
mannaandpoem
a24bfdc6c7
Modify style and format
2024-01-02 23:06:27 +08:00
莘权 马
49a95e6608
feat: merge geekan:dev
2024-01-02 22:36:16 +08:00
莘权 马
eabe0224c5
feat: +rebuild project
...
feat: parse pass
2024-01-02 22:34:48 +08:00
geekan
78b7e164f9
refine tests
2024-01-02 21:58:31 +08:00
莘权 马
aec2b72c8d
feat: ignore deleted files
2024-01-02 19:07:45 +08:00
mannaandpoem
6d9dfa73aa
Fallback to a version that only uses "Refine" and update the prompt for ActionNode
2024-01-02 18:24:02 +08:00
geekan
5649fac62d
fix pylint warnings
2024-01-02 18:14:03 +08:00
geekan
d2260a5958
Merge pull request #663 from iorisa/feature/unittest
...
feat: +unit test
2024-01-02 17:49:23 +08:00
莘权 马
92f3b81bd1
Merge branch 'dev' of https://github.com/geekan/MetaGPT into geekan/dev
2024-01-02 16:32:40 +08:00
莘权 马
b7d74c6483
fixbug: azure openai
2024-01-02 16:26:03 +08:00
geekan
907cf5bebc
remove get_template function
2024-01-02 14:45:58 +08:00
莘权 马
2f3e4c7f15
feat: +unit test
2024-01-02 11:59:03 +08:00
mannaandpoem
6743a4f3b1
update prompt
2023-12-31 12:56:15 +08:00
莘权 马
6f039d004d
feat: +unit test
...
fixbug: func has no value
2023-12-30 14:37:16 +08:00
geekan
e52b48ccc5
fix bugs
2023-12-29 01:38:58 +08:00
莘权 马
f76078dedf
feat: merge
2023-12-28 18:05:33 +08:00
莘权 马
c61a3d2a99
feat: +unit test
2023-12-28 16:57:40 +08:00
better629
e7c7c88c47
update to pydantic v2 and fix conflicts
2023-12-28 16:36:17 +08:00
莘权 马
16f0a0fd06
feat: Action Node + exclude parameter
...
refactor: awrite
feat: +unit test
2023-12-28 11:58:13 +08:00
莘权 马
6c95f2d21a
feat: Action Node + exclude parameter
...
refactor: awrite
feat: +unit test
2023-12-28 10:05:14 +08:00
莘权 马
0adabfe53f
feat: +unit test
...
fixbug: PYTHONPATH
fixbug: unit test
2023-12-27 21:47:48 +08:00
better629
afaa7385c4
add pydantic v2 support and change role's private fields into public
2023-12-27 14:00:54 +08:00
better629
66925dd791
migrate from pydantic v1 to v2
2023-12-26 14:44:09 +08:00
geekan
fa70a70f53
add json mock
2023-12-25 18:00:48 +08:00
geekan
0fca7b3b1f
fix prompt_schema
2023-12-24 15:41:35 +08:00
geekan
3b9e20d056
Merge pull request #616 from better629/new_dev_updatellm
...
update fireworks/open_llm api due to new openai sdk
2023-12-24 15:37:47 +08:00
better629
7e0c62a7a9
update fireworks/open_llm api due to new openai sdk
2023-12-24 15:34:32 +08:00
莘权 马
f441c88156
fixbug: timeout & prompt_format
2023-12-24 12:30:08 +08:00
geekan
2502dd3651
fix conflict
2023-12-23 19:48:01 +08:00
莘权 马
a90f52d4b6
fixbug: Fix the confusion caused by the merging of _client, client, and async_client in the openai_api.py;Split Azure LLM and MetaGPT LLM from OpenAI LLM to reduce the number of variables defined in the Config class for compatibility.
2023-12-23 18:07:42 +08:00
better629
19d33110bf
Merge branch 'main' into feat_basemodel
2023-12-22 22:33:06 +08:00
better629
b6eb776190
update sk AzureChatCompletion from base_url to endpoint
2023-12-22 17:43:10 +08:00
莘权 马
bf15613f63
feat: merge geekan:main
2023-12-22 16:50:04 +08:00
莘权 马
9a1909bb95
feat: merge geekan:main
2023-12-22 16:40:04 +08:00
better629
7816488445
update examples
2023-12-22 16:25:06 +08:00
better629
4b0cb0084a
add ollama support
2023-12-22 02:20:43 +08:00