update: editor

This commit is contained in:
seeker-jie 2024-08-26 18:19:13 +08:00
parent 8e7696b8e6
commit e191ea31c4
10 changed files with 283 additions and 255 deletions

View file

@ -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"],