mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-11 15:15:18 +02:00
Merge branch 'nbfeats_mgx_ops' into 'mgx_ops'
Nbfeats mgx ops See merge request pub/MetaGPT!26
This commit is contained in:
commit
33d15e4319
2 changed files with 4 additions and 1 deletions
|
|
@ -24,6 +24,7 @@ from rich.panel import Panel
|
|||
from rich.syntax import Syntax
|
||||
|
||||
from metagpt.actions import Action
|
||||
from metagpt.const import DEFAULT_WORKSPACE_ROOT
|
||||
from metagpt.logs import logger
|
||||
|
||||
|
||||
|
|
@ -43,7 +44,7 @@ class ExecuteNbCode(Action):
|
|||
):
|
||||
super().__init__(
|
||||
nb=nb,
|
||||
nb_client=NotebookClient(nb, timeout=timeout),
|
||||
nb_client=NotebookClient(nb, timeout=timeout, resources={"metadata": {"path": DEFAULT_WORKSPACE_ROOT}}),
|
||||
timeout=timeout,
|
||||
console=Console(),
|
||||
interaction=("ipython" if self.is_ipython() else "terminal"),
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ from metagpt.tools.libs import (
|
|||
web_scraping,
|
||||
email_login,
|
||||
terminal,
|
||||
file_manager,
|
||||
)
|
||||
from metagpt.tools.libs.software_development import (
|
||||
write_prd,
|
||||
|
|
@ -38,4 +39,5 @@ _ = (
|
|||
fix_bug,
|
||||
git_archive,
|
||||
terminal,
|
||||
file_manager,
|
||||
) # Avoid pre-commit error
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue