Returns function call ids found in an event.
(event: Event)
| 290 | |
| 291 | |
| 292 | def _event_function_call_ids(event: Event) -> set[str]: |
| 293 | """Returns function call ids found in an event.""" |
| 294 | function_call_ids: set[str] = set() |
| 295 | for function_call in event.get_function_calls(): |
| 296 | if function_call.id: |
| 297 | function_call_ids.add(function_call.id) |
| 298 | return function_call_ids |
| 299 | |
| 300 | |
| 301 | def _event_function_response_ids(event: Event) -> set[str]: |
no test coverage detected