Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
7567141
refact: extract the core logic into core subfolder
WannaTen Mar 20, 2025
f780483
refactor: fix the dependency in core folder
WannaTen Mar 20, 2025
197da3b
add tool_* and action_* into core
WannaTen Mar 22, 2025
3835c7e
add more detail into core
WannaTen Mar 23, 2025
906b7e0
fix: pass pre-commit check
WannaTen Mar 23, 2025
4a73ad2
remove not used files
WannaTen Mar 23, 2025
f783191
seprate rolezero from role
WannaTen Mar 23, 2025
f500277
fix importerror in test
WannaTen Mar 24, 2025
a485960
delete coreconfig, using the initial config instead
WannaTen Mar 24, 2025
dc71158
fix importerror in metagpt
WannaTen Mar 24, 2025
e956f2d
add metagpt-core and rm useless files
better629 Mar 24, 2025
7232a52
fix import error
WannaTen Mar 24, 2025
6ceb792
fix import error and lost files
WannaTen Mar 24, 2025
99b1cd6
metagpt-core安装问题
Mar 26, 2025
582bff4
fix circle import
WannaTen Mar 26, 2025
e474be8
fix the return value Declaration of role zero method
WannaTen Mar 26, 2025
222a44d
move numpy out of core scope, it only be used in tool_recommand
WannaTen Mar 27, 2025
c80589f
fix tool recommend
WannaTen Mar 27, 2025
bd0e3e2
remove unused tests
WannaTen Apr 4, 2025
129cbd5
fix import
WannaTen Apr 4, 2025
36f1f12
fix tool register
WannaTen Apr 4, 2025
9bbc453
use poetry to manage metagpt project packaging
WannaTen Apr 4, 2025
37adfde
Merge branch 'main' into main
WannaTen Apr 6, 2025
c952222
Merge pull request #1 from DR-approach/main
WannaTen Apr 6, 2025
e4e4c9e
fix: update actions/upload-artifact from v3 to v4
openhands-agent Jul 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/fulltest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
exit 1
fi
- name: Upload pytest test results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: pytest-results-${{ matrix.python-version }}
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unittest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
exit 1
fi
- name: Upload pytest test results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: pytest-results-${{ matrix.python-version }}
path: |
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,14 @@ You can also use [Data Interpreter](https://github.com/geekan/MetaGPT/tree/main/

```python
import asyncio
from metagpt.roles.di.data_interpreter import DataInterpreter
from metagpt.roles.data_interpreter import DataInterpreter


async def main():
di = DataInterpreter()
await di.run("Run data analysis on sklearn Iris dataset, include a plot")


asyncio.run(main()) # or await main() in a jupyter notebook setting
```

Expand Down
4 changes: 3 additions & 1 deletion docs/README_FR.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,14 @@ Vous pouvez aussi utiliser [Data Interpreter](https://github.com/geekan/MetaGPT/

```python
import asyncio
from metagpt.roles.di.data_interpreter import DataInterpreter
from metagpt.roles.data_interpreter import DataInterpreter


async def main():
di = DataInterpreter()
await di.run("Exécuter une analyse de données sur le jeu de données sklearn Iris et y inclure un graphique")


asyncio.run(main()) # ou attendre main() dans une configuration de notebook jupyter
```

Expand Down
88 changes: 0 additions & 88 deletions examples/aflow/README.md

This file was deleted.

12 changes: 0 additions & 12 deletions examples/aflow/config2.example.yaml

This file was deleted.

136 changes: 0 additions & 136 deletions examples/aflow/optimize.py

This file was deleted.

8 changes: 4 additions & 4 deletions examples/agent_creator.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
import re

from metagpt.actions import Action
from metagpt.config2 import config
from metagpt.const import METAGPT_ROOT
from metagpt.logs import logger
from metagpt.core.config2 import config
from metagpt.core.const import METAGPT_ROOT
from metagpt.core.logs import logger
from metagpt.core.schema import Message
from metagpt.roles import Role
from metagpt.schema import Message

EXAMPLE_CODE_FILE = METAGPT_ROOT / "examples/build_customized_agent.py"
MULTI_ACTION_AGENT_CODE_EXAMPLE = EXAMPLE_CODE_FILE.read_text()
Expand Down
2 changes: 0 additions & 2 deletions examples/android_assistant/requirements.txt

This file was deleted.

71 changes: 0 additions & 71 deletions examples/android_assistant/run_assistant.py

This file was deleted.

15 changes: 0 additions & 15 deletions examples/cr.py

This file was deleted.

Loading
Loading