mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-18 11:44:18 +00:00
feat(box): add sandbox_exec tool loop for local-agent calculations
This commit is contained in:
@@ -3,7 +3,8 @@ from __future__ import annotations
|
||||
import abc
|
||||
import typing
|
||||
|
||||
from ..core import app
|
||||
if typing.TYPE_CHECKING:
|
||||
from ..core import app
|
||||
from . import entities
|
||||
import langbot_plugin.api.entities.builtin.pipeline.query as pipeline_query
|
||||
|
||||
@@ -22,9 +23,9 @@ def stage_class(name: str) -> typing.Callable[[type[PipelineStage]], type[Pipeli
|
||||
class PipelineStage(metaclass=abc.ABCMeta):
|
||||
"""流水线阶段"""
|
||||
|
||||
ap: app.Application
|
||||
ap: 'app.Application'
|
||||
|
||||
def __init__(self, ap: app.Application):
|
||||
def __init__(self, ap: 'app.Application'):
|
||||
self.ap = ap
|
||||
|
||||
async def initialize(self, pipeline_config: dict):
|
||||
|
||||
Reference in New Issue
Block a user