(
event_json: &str,
parsed: &Value,
hint_id: &str,
hint: ToolHint,
)
| 526 | } |
| 527 | |
| 528 | fn deduped_codex_hint( |
| 529 | event_json: &str, |
| 530 | parsed: &Value, |
| 531 | hint_id: &str, |
| 532 | hint: ToolHint, |
| 533 | ) -> Option<ToolHint> { |
| 534 | deduped_project_hint_with_id( |
| 535 | codex_project_root_from_event(event_json), |
| 536 | HintAgent::Codex, |
| 537 | event_session_id(parsed), |
| 538 | hint_id, |
| 539 | hint, |
| 540 | ) |
| 541 | } |
| 542 | |
| 543 | fn codex_prompt_hint(event_json: &str) -> Option<ToolHint> { |
| 544 | let parsed = serde_json::from_str::<Value>(event_json).ok()?; |
no test coverage detected