AI Agent:flow:FlowAppendResponse.py:ソースコード

from flow.FlowResponseListBase import FlowResponseListBase


class FlowAppendResponse(FlowResponseListBase):
    def __init__(self, respons):
        super().__init__()
        self.set_category("flow")
        self.set_type("append_respons")

    def run(self, command=None, pre_respons=None, flow_data=None):
        type(super()).response_list.append(pre_respons)
        return "", ""