mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-20 15:38:09 +02:00
update: editor
This commit is contained in:
parent
8e7696b8e6
commit
e191ea31c4
10 changed files with 283 additions and 255 deletions
|
|
@ -10,7 +10,7 @@ from metagpt.utils.report import (
|
|||
BlockType,
|
||||
BrowserReporter,
|
||||
DocsReporter,
|
||||
EditorReporter,
|
||||
FileIOOperatorReporter,
|
||||
NotebookReporter,
|
||||
ServerReporter,
|
||||
TaskReporter,
|
||||
|
|
@ -148,8 +148,8 @@ async def test_notebook_reporter(http_server):
|
|||
"#!/usr/bin/env python\n# -*- coding: utf-8 -*-\n\nprint('Hello World')\n",
|
||||
"/data/main.py",
|
||||
{"type": "write_code"},
|
||||
BlockType.EDITOR,
|
||||
EditorReporter,
|
||||
BlockType.FILE_IO_OPERATOR,
|
||||
FileIOOperatorReporter,
|
||||
),
|
||||
),
|
||||
ids=["test_docs_reporter", "test_editor_reporter"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue