AGUIEvent
Defined in the ui module.Rust AI Agent SDK AGUI Base Event
Fields
| Name | Type | Description |
|---|---|---|
event_type | AGUIEventType | Event type |
Option | :is_none")] | Event data |
data | Option<serde_json::Value> | Event data |
Option | :is_none")] | Run ID |
run_id | Option<String> | Run ID |
Methods
run_started
| Name | Type |
|---|---|
run_id | impl Into<String> |
run_finished
| Name | Type |
|---|---|
run_id | impl Into<String> |
run_error
| Name | Type |
|---|---|
run_id | impl Into<String> |
error | impl Into<String> |
text_delta
| Name | Type |
|---|---|
run_id | impl Into<String> |
delta | impl Into<String> |
Source
View on GitHub
praisonai/src/parity/ui.rs at line 277
