events
Class info¶
Classes¶
| Name | Children | Inherits |
|---|---|---|
| ChatMessage llmling_agent.messaging.messages Common message format for all UI types. |
||
| CommandCompleteEvent llmling_agent.agent.events Event indicating slash command execution is complete. |
||
| CommandOutputEvent llmling_agent.agent.events Event for slash command output. |
||
| StreamCompleteEvent llmling_agent.agent.events Event indicating streaming is complete with final message. |
||
| ToolCallCompleteEvent llmling_agent.agent.events Event indicating tool call is complete with both input and output. |
||
| ToolCallProgressEvent llmling_agent.agent.events Event indicating the tool call progress. |
🛈 DocStrings¶
Event stream events.
CommandCompleteEvent
dataclass
¶
Event indicating slash command execution is complete.
Source code in src/llmling_agent/agent/events.py
57 58 59 60 61 62 63 64 65 66 | |
CommandOutputEvent
dataclass
¶
Event for slash command output.
Source code in src/llmling_agent/agent/events.py
45 46 47 48 49 50 51 52 53 54 | |
StreamCompleteEvent
dataclass
¶
Event indicating streaming is complete with final message.
Source code in src/llmling_agent/agent/events.py
17 18 19 20 21 22 23 24 | |
event_kind
class-attribute
instance-attribute
¶
event_kind: Literal['stream_complete'] = 'stream_complete'
Event type identifier.
message
instance-attribute
¶
message: ChatMessage[TContent]
The final chat message with all metadata.
ToolCallCompleteEvent
dataclass
¶
Event indicating tool call is complete with both input and output.
Source code in src/llmling_agent/agent/events.py
69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 | |
ToolCallProgressEvent
dataclass
¶
Event indicating the tool call progress.
Source code in src/llmling_agent/agent/events.py
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | |
create_queuing_progress_handler
¶
create_queuing_progress_handler(queue: Queue[ToolCallProgressEvent])
Create progress handler that converts to ToolCallProgressEvent.
Source code in src/llmling_agent/agent/events.py
102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | |