WIP: feat(api): Implement HumanInputFormFilled event

This commit is contained in:
QuantumGhost
2026-01-04 10:25:00 +08:00
parent a2e250ce0c
commit 3ab1ad6530
15 changed files with 291 additions and 2 deletions

View File

@ -13,6 +13,7 @@ from .loop import (
LoopSucceededEvent,
)
from .node import (
HumanInputFormFilledEvent,
ModelInvokeCompletedEvent,
PauseRequestedEvent,
RunRetrieverResourceEvent,
@ -23,6 +24,7 @@ from .node import (
__all__ = [
"AgentLogEvent",
"HumanInputFormFilledEvent",
"IterationFailedEvent",
"IterationNextEvent",
"IterationStartedEvent",

View File

@ -47,3 +47,11 @@ class StreamCompletedEvent(NodeEventBase):
class PauseRequestedEvent(NodeEventBase):
reason: PauseReason = Field(..., description="pause reason")
class HumanInputFormFilledEvent(NodeEventBase):
"""Event emitted when a human input form is submitted."""
rendered_content: str
action_id: str
action_text: str