(
event_type: a3s_ahp::EventType,
session_id: &str,
agent_id: &str,
depth: u32,
payload: serde_json::Value,
)
| 225 | } |
| 226 | |
| 227 | fn ahp_event( |
| 228 | event_type: a3s_ahp::EventType, |
| 229 | session_id: &str, |
| 230 | agent_id: &str, |
| 231 | depth: u32, |
| 232 | payload: serde_json::Value, |
| 233 | ) -> a3s_ahp::AhpEvent { |
| 234 | a3s_ahp::AhpEvent { |
| 235 | event_type, |
| 236 | session_id: session_id.to_string(), |
| 237 | agent_id: agent_id.to_string(), |
| 238 | timestamp: now(), |
| 239 | depth, |
| 240 | payload, |
| 241 | context: None, |
| 242 | metadata: None, |
| 243 | } |
| 244 | } |
| 245 | |
| 246 | fn task_status_to_ahp(status: crate::planning::TaskStatus) -> a3s_ahp::TaskStatus { |
| 247 | match status { |
no test coverage detected