Skip to content

Control skipping Pipeline stages based on logic programmatically #99

Description

@zvigrinberg

We need a way to control skipping certain pipeline stages/nodes programmatically and in runtime.

Example of feature that relies on such mechanism in the former released version is - Deficient intel filtering #57
, which is working very good to skip the LLM Engine in the previous version.

We need it also for our feature Low Quality CVE

LangGraph supports it in the phase of building/compiling the pipeline, using graph.add_conditional_edges method, but i'm not sure if the routing_function of this method can get results of business logic saved to the message in the workflow.

According to my investigation, we can probably achieve that by manipulating AgentMorpheusEngineState instance' fields according to our needs in the nodes logic and then use it in order to bypass certain stages/nodes.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions