context
Class info¶
Classes¶
Name | Children | Inherits |
---|---|---|
NodeContext llmling_agent.messaging.context NodeContext(*, node_name: 'str', pool: 'AgentPool | None' \= None, config: 'NodeConfig', definition: 'AgentsManifest', current_prompt: 'str | None' \= None, in_async_context: 'bool' \= False, input_provider: 'InputProvider | None' \= None) |
🛈 DocStrings¶
Base class for message processing nodes.
NodeContext
dataclass
¶
Source code in src/llmling_agent/messaging/context.py
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 |
|
current_prompt
class-attribute
instance-attribute
¶
current_prompt: str | None = None
Current prompt text for the agent.
definition
instance-attribute
¶
definition: AgentsManifest
Complete agent definition with all configurations.
in_async_context
class-attribute
instance-attribute
¶
in_async_context: bool = False
Whether we're running in an async context.
input_provider
class-attribute
instance-attribute
¶
input_provider: InputProvider | None = None
Provider for human-input-handling.
pool
class-attribute
instance-attribute
¶
pool: AgentPool | None = None
The agent pool the node is part of.
report_progress
property
¶
report_progress: ProgressCallback | None
Access progress reporting from pool server if available.