MCPcopy Index your code
hub / github.com/google/adk-python / _event_function_call_ids

Function _event_function_call_ids

src/google/adk/apps/compaction.py:292–298  ·  view source on GitHub ↗

Returns function call ids found in an event.

(event: Event)

Source from the content-addressed store, hash-verified

290
291
292def _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
301def _event_function_response_ids(event: Event) -> set[str]:

Calls 3

setFunction · 0.85
get_function_callsMethod · 0.80
addMethod · 0.45

Tested by

no test coverage detected