Source: factory.workflow/ObjWorkflowAi.py
AI Node - Invokes an AI model.
Node types: AI
Reads model / role / prompt from run_context and kwargs, then
stores the AI response back into run_context["response"].
| Method | Signature | Description |
|---|---|---|
| execute | execute(run_context: WorkflowContextType, current_result: str, input_guid: str, node_type: str, name: str, **kwargs) -> NodeExecuteResultType |
Execute an AI node. |