Skip to content

agent临时定义节点执行时会显示报错 #1362

Description

@KhazixW2

问题类型 / Issue Type

一般 Bug / General Bug

问题描述及复现步骤 / Problem Description & Reproduction Steps

    boundaryList = context.run_recognition(
        "GridCheckTargetBoundary",
        img,
        pipeline_override={
            "GridCheckTargetBoundary": {
                "recognition": "TemplateMatch",
                "template": f"fight/time_space_domain/boundary{direction}.png",
                "roi": boundaryRoiDict[direction],
                "threshold": 0.92,
            }
        },
    )

临时定义的node maafw 报错 未找到。

Image

MaaFramework 版本 / Version

5.10.5

日志文件 / Log Files

maafw.log

Pipeline JSON

boundaryList = context.run_recognition(
            "GridCheckTargetBoundary",
            img,
            pipeline_override={
                "GridCheckTargetBoundary": {
                    "recognition": "TemplateMatch",
                    "template": f"fight/time_space_domain/boundary{direction}.png",
                    "roi": boundaryRoiDict[direction],
                    "threshold": 0.92,
                }
            },
        )

崩溃 Dump 文件 / Crash Dump (仅崩溃问题 / Crash only)

No response

Draw 调试图片 / Draw Debug Images (仅识别问题 / Recognition only)

No response

模板图片 / Template Images (仅识别问题 / Recognition only)

No response

其他信息 / Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    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