mirror of
https://github.com/langgenius/dify.git
synced 2026-03-04 15:26:21 +08:00
18 lines
663 B
Python
18 lines
663 B
Python
from collections.abc import Mapping
|
|
from typing import Any
|
|
|
|
from pydantic import Field
|
|
|
|
from .base import GraphAgentNodeEventBase
|
|
|
|
|
|
class NodeRunAgentLogEvent(GraphAgentNodeEventBase):
|
|
message_id: str = Field(..., description="message id")
|
|
label: str = Field(..., description="label")
|
|
node_execution_id: str = Field(..., description="node execution id")
|
|
parent_id: str | None = Field(..., description="parent id")
|
|
error: str | None = Field(..., description="error")
|
|
status: str = Field(..., description="status")
|
|
data: Mapping[str, Any] = Field(..., description="data")
|
|
metadata: Mapping[str, object] = Field(default_factory=dict)
|