mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-18 10:00:40 +08:00
fix: run local python in session workspace (#8792)
This commit is contained in:
@@ -14,6 +14,7 @@ class PythonComponent(Protocol):
|
||||
kernel_id: str | None = None,
|
||||
timeout: int = 30,
|
||||
silent: bool = False,
|
||||
cwd: str | None = None,
|
||||
) -> dict[str, Any]:
|
||||
"""Execute Python code"""
|
||||
...
|
||||
|
||||
Reference in New Issue
Block a user