An open-source, code-first Python toolkit for building, evaluating, and deploying sophisticated AI agents with flexibility and control.
10898 matches across 20 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | contributing/samples/core/runner_debug_example/main.py | 37 | async def example_multiple_messages(): |
| LOW | contributing/samples/core/runner_debug_example/main.py | 54 | async def example_conversation_persistence(): |
| LOW | contributing/samples/core/runner_debug_example/main.py | 75 | async def example_separate_sessions(): |
| LOW | contributing/samples/core/logprobs/README.md | 51 | async def append_logprobs_to_response( |
| LOW | contributing/samples/core/logprobs/agent.py | 28 | async def append_logprobs_to_response( |
| LOW | …g/samples/adk_team/adk_issue_monitoring_agent/utils.py | 39 | def _increment_api_call_count() -> None: |
| LOW | …g/samples/adk_team/adk_issue_monitoring_agent/utils.py | 77 | def get_repository_maintainers(owner: str, repo: str) -> list[str]: |
| LOW | …ributing/samples/adk_team/adk_answering_agent/tools.py | 27 | def get_discussion_and_comments(discussion_number: int) -> dict[str, Any]: |
| LOW | …ributing/samples/adk_team/adk_answering_agent/tools.py | 101 | def add_comment_to_discussion( |
| LOW | …ributing/samples/adk_team/adk_answering_agent/tools.py | 218 | def convert_gcs_links_to_https(gcs_uris: list[str]) -> Dict[str, Optional[str]]: |
| LOW | …adk_answering_agent/upload_docs_to_vertex_ai_search.py | 137 | def import_from_gcs_to_vertex_ai( |
| LOW | …tributing/samples/adk_team/adk_answering_agent/main.py | 41 | async def list_most_recent_discussions( |
| LOW | …ributing/samples/adk_team/adk_knowledge_agent/agent.py | 27 | def citation_retrieval_after_model_callback( |
| LOW | …ntributing/samples/adk_team/adk_documentation/tools.py | 73 | def get_changed_files_between_releases( |
| LOW | …ntributing/samples/adk_team/adk_documentation/tools.py | 175 | def read_local_git_repo_file_content(file_path: str) -> Dict[str, Any]: |
| LOW | …ntributing/samples/adk_team/adk_documentation/tools.py | 310 | def create_pull_request_from_changes( |
| LOW | …ntributing/samples/adk_team/adk_documentation/tools.py | 559 | def get_file_diff_for_release( |
| LOW | …ntributing/samples/adk_team/adk_documentation/tools.py | 608 | def get_changed_files_summary( |
| LOW | …ntributing/samples/adk_team/adk_documentation/tools.py | 696 | def _get_changed_files_from_local_git( |
| LOW | …k_team/adk_documentation/adk_release_analyzer/agent.py | 142 | def save_group_recommendations( |
| LOW | …k_team/adk_documentation/adk_release_analyzer/agent.py | 376 | def file_analyzer_instruction(readonly_context: ReadonlyContext) -> str: |
| LOW | contributing/samples/adk_team/adk_stale_agent/utils.py | 57 | def _increment_api_call_count() -> None: |
| LOW | contributing/samples/adk_team/adk_stale_agent/utils.py | 200 | def get_old_open_issue_numbers( |
| LOW | contributing/samples/adk_team/adk_stale_agent/agent.py | 306 | def _replay_history_to_find_state( |
| LOW | contributing/samples/adk_team/adk_stale_agent/agent.py | 510 | def add_stale_label_and_comment(item_number: int) -> dict[str, Any]: |
| LOW | …tributing/samples/adk_team/adk_triaging_agent/agent.py | 185 | def assign_gtech_owner_to_issue(issue_number: int) -> dict[str, Any]: |
| LOW | …ntributing/samples/adk_team/adk_triaging_agent/main.py | 40 | async def fetch_specific_issue_details(issue_number: int): |
| LOW | …ng/samples/patterns/workflow_triage/execution_agent.py | 27 | def before_agent_callback_check_relevance( |
| LOW | …ng/samples/patterns/workflow_triage/execution_agent.py | 81 | def instruction_provider_for_execution_summary_agent( |
| LOW | …les/patterns/context_offloading_with_artifact/agent.py | 53 | async def _append_artifacts_to_llm_request( |
| LOW | …amples/plugin/plugin_reflect_tool_retry/basic/agent.py | 53 | async def extract_error_from_result( |
| LOW | …uting/samples/mcp/mcp_progress_callback_agent/agent.py | 82 | def progress_callback_factory( |
| LOW | contributing/samples/models/interactions_api/main.py | 131 | async def test_basic_text_generation(runner: Runner, session_id: str): |
| LOW | contributing/samples/models/interactions_api/main.py | 165 | async def test_multi_turn_conversation(runner: Runner, session_id: str): |
| LOW | contributing/samples/models/interactions_api/main.py | 236 | async def test_custom_function_tool(runner: Runner, session_id: str): |
| LOW | contributing/samples/models/interactions_api/main.py | 298 | def check_interactions_api_available() -> bool: |
| LOW | …uting/samples/integrations/spanner_rag_agent/README.md | 329 | def wrapped_spanner_similarity_search( |
| LOW | contributing/samples/integrations/bigtable/agent.py | 69 | def search_hotels_by_location( |
| LOW | …ntributing/samples/integrations/gepa/adk_agent_test.py | 163 | def test_intermediary_step_is_done(): |
| LOW | …ntributing/samples/integrations/gepa/adk_agent_test.py | 199 | def test_intermediary_tool_step_is_done(): |
| LOW | contributing/samples/integrations/gepa/rater_lib.py | 30 | def parse_rubric_validation_response( |
| LOW | contributing/samples/integrations/gepa/rater_lib.py | 90 | def format_user_agent_conversation(conv: list[dict[str, Any]]) -> str: |
| LOW | …ations/oauth2_client_credentials/oauth2_test_server.py | 179 | async def handle_client_credentials( |
| LOW | …ations/oauth2_client_credentials/oauth2_test_server.py | 204 | async def handle_authorization_code( |
| LOW | …ng/samples/multimodal/static_non_text_content/agent.py | 55 | def create_static_instruction_with_file_upload(): |
| LOW | …ributing/samples/multimodal/computer_use/playwright.py | 205 | async def _horizontal_document_scroll( |
| LOW | …ve/live_agent_api_server_example/live_agent_example.py | 319 | def _play_audio_pyaudio_handler( |
| LOW | …ve/live_agent_api_server_example/live_agent_example.py | 179 | def create_text_request_payload(text: str) -> str: |
| LOW | …ve/live_agent_api_server_example/live_agent_example.py | 187 | def create_audio_request_payload(audio_bytes: bytes, mime_type: str) -> str: |
| LOW | …buting/samples/live/live_tool_callbacks_agent/agent.py | 98 | def before_tool_audit_callback( |
| LOW | …buting/samples/live/live_tool_callbacks_agent/agent.py | 119 | def before_tool_security_callback( |
| LOW | …buting/samples/live/live_tool_callbacks_agent/agent.py | 142 | async def before_tool_async_callback( |
| LOW | …buting/samples/live/live_tool_callbacks_agent/agent.py | 169 | def after_tool_enhancement_callback( |
| LOW | …buting/samples/live/live_tool_callbacks_agent/agent.py | 190 | async def after_tool_async_callback( |
| LOW | …samples/context_management/history_management/agent.py | 68 | def create_slice_history_callback(n_recent_turns): |
| LOW | …ing/samples/context_management/cache_analysis/agent.py | 268 | def optimize_system_performance( |
| LOW | …ing/samples/context_management/cache_analysis/agent.py | 366 | def analyze_security_vulnerabilities( |
| LOW | …ing/samples/context_management/cache_analysis/agent.py | 455 | def design_scalability_architecture( |
| LOW | …ext_management/cache_analysis/run_cache_experiments.py | 97 | async def run_cache_comparison_experiment( |
| LOW | …ext_management/cache_analysis/run_cache_experiments.py | 314 | async def analyze_cache_performance_from_sessions( |
| 5889 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | contributing/samples/services.py | 1 | # Copyright 2026 Google LLC |
| LOW | contributing/samples/dummy_services.py | 1 | # Copyright 2026 Google LLC |
| LOW | …ntributing/samples/multi_agent/task_sub_agent/agent.py | 1 | # Copyright 2026 Google LLC |
| LOW | …samples/multi_agent/multi_agent_llm_config/__init__.py | 1 | # Copyright 2026 Google LLC |
| LOW | …ibuting/samples/multi_agent/hello_world_ma/__init__.py | 1 | # Copyright 2026 Google LLC |
| LOW | …ntributing/samples/multi_agent/hello_world_ma/agent.py | 1 | # Copyright 2026 Google LLC |
| LOW | …g/samples/multi_agent/three_layer_transfer/__init__.py | 1 | # Copyright 2026 Google LLC |
| LOW | …ting/samples/multi_agent/three_layer_transfer/agent.py | 1 | # Copyright 2026 Google LLC |
| LOW | contributing/samples/multi_agent/sub_agents/__init__.py | 1 | # Copyright 2026 Google LLC |
| LOW | contributing/samples/multi_agent/sub_agents/agent.py | 1 | # Copyright 2026 Google LLC |
| LOW | …ing/samples/multi_agent/single_turn_sub_agent/agent.py | 1 | # Copyright 2026 Google LLC |
| LOW | …ting/samples/multi_agent/sub_agents_config/__init__.py | 1 | # Copyright 2026 Google LLC |
| LOW | …ng/samples/multi_agent/sub_agents_config/life_agent.py | 1 | # Copyright 2026 Google LLC |
| LOW | …ibuting/samples/tools/built_in_multi_tools/__init__.py | 1 | # Copyright 2026 Google LLC |
| LOW | …ntributing/samples/tools/built_in_multi_tools/agent.py | 1 | # Copyright 2026 Google LLC |
| LOW | …uting/samples/tools/long_running_functions/__init__.py | 1 | # Copyright 2026 Google LLC |
| LOW | …ributing/samples/tools/long_running_functions/agent.py | 1 | # Copyright 2026 Google LLC |
| LOW | …tributing/samples/tools/parallel_functions/__init__.py | 1 | # Copyright 2026 Google LLC |
| LOW | contributing/samples/tools/parallel_functions/agent.py | 1 | # Copyright 2026 Google LLC |
| LOW | …g/samples/tools/hello_world_stream_fc_args/__init__.py | 1 | # Copyright 2026 Google LLC |
| LOW | …ting/samples/tools/hello_world_stream_fc_args/agent.py | 1 | # Copyright 2026 Google LLC |
| LOW | …s/tools/agent_tool_with_grounding_metadata/__init__.py | 1 | # Copyright 2026 Google LLC |
| LOW | …ples/tools/agent_tool_with_grounding_metadata/agent.py | 1 | # Copyright 2026 Google LLC |
| LOW | …ing/samples/tools/output_schema_with_tools/__init__.py | 1 | # Copyright 2026 Google LLC |
| LOW | …buting/samples/tools/output_schema_with_tools/agent.py | 1 | # Copyright 2026 Google LLC |
| LOW | …tributing/samples/tools/tool_functions_config/tools.py | 1 | # Copyright 2026 Google LLC |
| LOW | …buting/samples/tools/tool_functions_config/__init__.py | 1 | # Copyright 2026 Google LLC |
| LOW | contributing/samples/tools/function_tools/__init__.py | 1 | # Copyright 2026 Google LLC |
| LOW | contributing/samples/tools/function_tools/agent.py | 1 | # Copyright 2026 Google LLC |
| LOW | …ntributing/samples/tools/pydantic_argument/__init__.py | 1 | # Copyright 2026 Google LLC |
| LOW | contributing/samples/tools/pydantic_argument/agent.py | 1 | # Copyright 2026 Google LLC |
| LOW | contributing/samples/tools/pydantic_argument/main.py | 1 | #!/usr/bin/env python3 |
| LOW | contributing/samples/core/abort/__init__.py | 1 | # Copyright 2026 Google LLC |
| LOW | contributing/samples/core/abort/agent.py | 1 | # Copyright 2026 Google LLC |
| LOW | contributing/samples/core/artifacts/__init__.py | 1 | # Copyright 2026 Google LLC |
| LOW | contributing/samples/core/artifacts/agent.py | 1 | # Copyright 2026 Google LLC |
| LOW | …ributing/samples/core/runner_debug_example/__init__.py | 1 | # Copyright 2026 Google LLC |
| LOW | contributing/samples/core/runner_debug_example/agent.py | 1 | # Copyright 2026 Google LLC |
| LOW | contributing/samples/core/runner_debug_example/main.py | 1 | # Copyright 2026 Google LLC |
| LOW | contributing/samples/core/hello_world/__init__.py | 1 | # Copyright 2026 Google LLC |
| LOW | contributing/samples/core/hello_world/agent.py | 1 | # Copyright 2026 Google LLC |
| LOW | contributing/samples/core/app/agent.py | 1 | # Copyright 2026 Google LLC |
| LOW | contributing/samples/core/empty_agent/__init__.py | 1 | # Copyright 2026 Google LLC |
| LOW | contributing/samples/core/empty_agent/agent.py | 1 | # Copyright 2026 Google LLC |
| LOW | contributing/samples/core/callbacks/__init__.py | 1 | # Copyright 2026 Google LLC |
| LOW | contributing/samples/core/callbacks/agent.py | 1 | # Copyright 2026 Google LLC |
| LOW | contributing/samples/core/input_output_schema/agent.py | 1 | # Copyright 2026 Google LLC |
| LOW | contributing/samples/core/quickstart/__init__.py | 1 | # Copyright 2026 Google LLC |
| LOW | contributing/samples/core/quickstart/agent.py | 1 | # Copyright 2026 Google LLC |
| LOW | contributing/samples/core/logprobs/__init__.py | 1 | # Copyright 2026 Google LLC |
| LOW | contributing/samples/core/logprobs/agent.py | 1 | # Copyright 2026 Google LLC |
| LOW | …ing/samples/adk_team/adk_pr_triaging_agent/__init__.py | 1 | # Copyright 2026 Google LLC |
| LOW | …buting/samples/adk_team/adk_pr_triaging_agent/utils.py | 1 | # Copyright 2026 Google LLC |
| LOW | …buting/samples/adk_team/adk_pr_triaging_agent/agent.py | 1 | # Copyright 2026 Google LLC |
| LOW | …ing/samples/adk_team/adk_pr_triaging_agent/settings.py | 1 | # Copyright 2026 Google LLC |
| LOW | …ibuting/samples/adk_team/adk_pr_triaging_agent/main.py | 1 | # Copyright 2026 Google LLC |
| LOW | …amples/adk_team/adk_issue_monitoring_agent/__init__.py | 1 | # Copyright 2026 Google LLC |
| LOW | …g/samples/adk_team/adk_issue_monitoring_agent/utils.py | 1 | # Copyright 2026 Google LLC |
| LOW | …g/samples/adk_team/adk_issue_monitoring_agent/agent.py | 1 | # Copyright 2026 Google LLC |
| LOW | …amples/adk_team/adk_issue_monitoring_agent/settings.py | 1 | # Copyright 2026 Google LLC |
| 1498 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | contributing/samples/services.py | 16 | |
| LOW | contributing/samples/dummy_services.py | 16 | |
| LOW | …ntributing/samples/multi_agent/task_sub_agent/agent.py | 15 | |
| LOW | …ibuting/samples/multi_agent/hello_world_ma/__init__.py | 15 | |
| LOW | …g/samples/multi_agent/three_layer_transfer/__init__.py | 15 | |
| LOW | contributing/samples/multi_agent/sub_agents/__init__.py | 15 | |
| LOW | contributing/samples/multi_agent/sub_agents/agent.py | 15 | |
| LOW | …ibuting/samples/tools/built_in_multi_tools/__init__.py | 15 | |
| LOW | …uting/samples/tools/long_running_functions/__init__.py | 15 | |
| LOW | …tributing/samples/tools/parallel_functions/__init__.py | 15 | |
| LOW | contributing/samples/tools/parallel_functions/agent.py | 18 | |
| LOW | …g/samples/tools/hello_world_stream_fc_args/__init__.py | 15 | |
| LOW | …s/tools/agent_tool_with_grounding_metadata/__init__.py | 15 | |
| LOW | …ing/samples/tools/output_schema_with_tools/__init__.py | 15 | |
| LOW | contributing/samples/tools/function_tools/__init__.py | 15 | |
| LOW | contributing/samples/tools/function_tools/agent.py | 15 | |
| LOW | …ntributing/samples/tools/pydantic_argument/__init__.py | 15 | |
| LOW | contributing/samples/core/abort/__init__.py | 15 | |
| LOW | contributing/samples/core/artifacts/__init__.py | 15 | |
| LOW | contributing/samples/core/artifacts/agent.py | 15 | |
| LOW | …ributing/samples/core/runner_debug_example/__init__.py | 17 | |
| LOW | contributing/samples/core/hello_world/__init__.py | 15 | |
| LOW | contributing/samples/core/app/agent.py | 15 | |
| LOW | contributing/samples/core/empty_agent/__init__.py | 15 | |
| LOW | contributing/samples/core/empty_agent/__init__.py | 17 | |
| LOW | contributing/samples/core/empty_agent/agent.py | 15 | |
| LOW | contributing/samples/core/callbacks/__init__.py | 15 | |
| LOW | contributing/samples/core/callbacks/agent.py | 15 | |
| LOW | contributing/samples/core/input_output_schema/agent.py | 15 | |
| LOW | contributing/samples/core/quickstart/__init__.py | 15 | |
| LOW | contributing/samples/core/logprobs/__init__.py | 15 | |
| LOW | …ing/samples/adk_team/adk_pr_triaging_agent/__init__.py | 15 | |
| LOW | …amples/adk_team/adk_issue_monitoring_agent/__init__.py | 15 | |
| LOW | …uting/samples/adk_team/adk_answering_agent/__init__.py | 15 | |
| LOW | …_team/adk_answering_agent/gemini_assistant/__init__.py | 15 | |
| LOW | …amples/adk_team/adk_issue_formatting_agent/__init__.py | 15 | |
| LOW | …uting/samples/adk_team/adk_knowledge_agent/__init__.py | 15 | |
| LOW | …eam/adk_documentation/adk_release_analyzer/__init__.py | 15 | |
| LOW | …dk_team/adk_documentation/adk_docs_updater/__init__.py | 15 | |
| LOW | …tributing/samples/adk_team/adk_stale_agent/__init__.py | 15 | |
| LOW | contributing/samples/adk_team/adk_stale_agent/utils.py | 27 | |
| LOW | …buting/samples/adk_team/adk_triaging_agent/__init__.py | 15 | |
| LOW | contributing/samples/adk_team/adk_pr_agent/__init__.py | 15 | |
| LOW | …tributing/samples/patterns/workflow_triage/__init__.py | 15 | |
| LOW | …/patterns/context_offloading_with_artifact/__init__.py | 15 | |
| LOW | …ntributing/samples/patterns/fields_planner/__init__.py | 15 | |
| LOW | contributing/samples/patterns/fields_planner/agent.py | 19 | |
| LOW | …buting/samples/patterns/json_passing_agent/__init__.py | 15 | |
| LOW | …g/samples/config/core_custom_agent_config/my_agents.py | 15 | |
| LOW | …g/samples/config/core_custom_agent_config/my_agents.py | 17 | |
| LOW | contributing/samples/a2a/a2a_basic/__init__.py | 15 | |
| LOW | …a2a/a2a_basic/remote_a2a/check_prime_agent/__init__.py | 15 | |
| LOW | …es/a2a/a2a_basic/remote_a2a/check_prime_agent/agent.py | 15 | |
| LOW | …es/a2a/a2a_basic/remote_a2a/check_prime_agent/agent.py | 18 | |
| LOW | contributing/samples/a2a/a2a_auth/__init__.py | 15 | |
| LOW | …les/a2a/a2a_auth/remote_a2a/bigquery_agent/__init__.py | 15 | |
| LOW | contributing/samples/a2a/a2a_human_in_loop/__init__.py | 15 | |
| LOW | …a2a_human_in_loop/remote_a2a/human_in_loop/__init__.py | 15 | |
| LOW | …amples/a2a/a2a_root/remote_a2a/hello_world/__init__.py | 15 | |
| LOW | …amples/environment_and_skills/skills_agent/__init__.py | 15 | |
| 1394 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | …k_team/adk_documentation/adk_release_analyzer/agent.py | 96 | # ============================================================================= |
| MEDIUM | …k_team/adk_documentation/adk_release_analyzer/agent.py | 98 | # ============================================================================= |
| MEDIUM | …k_team/adk_documentation/adk_release_analyzer/agent.py | 291 | # ============================================================================= |
| MEDIUM | …k_team/adk_documentation/adk_release_analyzer/agent.py | 293 | # ============================================================================= |
| MEDIUM | …k_team/adk_documentation/adk_release_analyzer/agent.py | 371 | # ============================================================================= |
| MEDIUM | …k_team/adk_documentation/adk_release_analyzer/agent.py | 373 | # ============================================================================= |
| MEDIUM | …k_team/adk_documentation/adk_release_analyzer/agent.py | 501 | # ============================================================================= |
| MEDIUM | …k_team/adk_documentation/adk_release_analyzer/agent.py | 503 | # ============================================================================= |
| MEDIUM | …k_team/adk_documentation/adk_release_analyzer/agent.py | 570 | # ============================================================================= |
| MEDIUM | …k_team/adk_documentation/adk_release_analyzer/agent.py | 572 | # ============================================================================= |
| MEDIUM | …k_team/adk_documentation/adk_release_analyzer/agent.py | 608 | # ============================================================================= |
| MEDIUM | …k_team/adk_documentation/adk_release_analyzer/agent.py | 610 | # ============================================================================= |
| MEDIUM | tests/unittests/test_optional_dependencies.py | 63 | # ============================================================================= |
| MEDIUM | tests/unittests/test_optional_dependencies.py | 65 | # ============================================================================= |
| MEDIUM | tests/unittests/test_optional_dependencies.py | 170 | # ============================================================================= |
| MEDIUM | tests/unittests/test_optional_dependencies.py | 172 | # ============================================================================= |
| MEDIUM | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 5827 | # ============================================================================== |
| MEDIUM | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 5829 | # ============================================================================== |
| MEDIUM | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 7369 | # ================================================================ |
| MEDIUM | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 7371 | # ================================================================ |
| MEDIUM | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 7439 | # ================================================================ |
| MEDIUM | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 7441 | # ================================================================ |
| MEDIUM | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 7554 | # ================================================================ |
| MEDIUM | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 7556 | # ================================================================ |
| MEDIUM | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 5009 | # ============================================================================== |
| MEDIUM | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 5011 | # ============================================================================== |
| MEDIUM | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 5120 | # ============================================================================== |
| MEDIUM | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 5122 | # ============================================================================== |
| MEDIUM | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 5344 | # ============================================================================== |
| MEDIUM | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 5346 | # ============================================================================== |
| MEDIUM | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 5592 | # ============================================================================== |
| MEDIUM | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 5594 | # ============================================================================== |
| MEDIUM | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 7135 | # ============================================================== |
| MEDIUM | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 7137 | # ============================================================== |
| MEDIUM | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 7271 | # ================================================================ |
| MEDIUM | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 7273 | # ================================================================ |
| MEDIUM | tests/unittests/agents/test_llm_agent_interruptions.py | 127 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/unittests/agents/test_llm_agent_interruptions.py | 129 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/unittests/models/test_litellm.py | 4751 | # ── Anthropic thinking_blocks tests ───────────────────────────── |
| MEDIUM | tests/unittests/cli/test_trigger_routes.py | 930 | # =================================================================== |
| MEDIUM | tests/unittests/cli/test_trigger_routes.py | 932 | # =================================================================== |
| MEDIUM | tests/unittests/cli/test_trigger_routes.py | 45 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/unittests/cli/test_trigger_routes.py | 47 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/unittests/cli/test_trigger_routes.py | 143 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/unittests/cli/test_trigger_routes.py | 145 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/unittests/cli/test_trigger_routes.py | 289 | # =================================================================== |
| MEDIUM | tests/unittests/cli/test_trigger_routes.py | 291 | # =================================================================== |
| MEDIUM | tests/unittests/cli/test_trigger_routes.py | 485 | # =================================================================== |
| MEDIUM | tests/unittests/cli/test_trigger_routes.py | 487 | # =================================================================== |
| MEDIUM | tests/unittests/cli/test_trigger_routes.py | 821 | # =================================================================== |
| MEDIUM | tests/unittests/cli/test_trigger_routes.py | 823 | # =================================================================== |
| MEDIUM | tests/unittests/cli/test_trigger_routes.py | 843 | # =================================================================== |
| MEDIUM | tests/unittests/cli/test_trigger_routes.py | 845 | # =================================================================== |
| MEDIUM | tests/unittests/cli/test_trigger_routes.py | 870 | # =================================================================== |
| MEDIUM | tests/unittests/cli/test_trigger_routes.py | 872 | # =================================================================== |
| MEDIUM | tests/unittests/cli/test_trigger_routes.py | 955 | # =================================================================== |
| MEDIUM | tests/unittests/cli/test_trigger_routes.py | 957 | # =================================================================== |
| MEDIUM | …nittests/integrations/bigquery/test_bigquery_client.py | 239 | # ------------------------------------------------------------------------------ |
| MEDIUM | …/integrations/agent_identity/test_gcp_auth_provider.py | 114 | # ============================================================================== |
| MEDIUM | …/integrations/agent_identity/test_gcp_auth_provider.py | 116 | # ============================================================================== |
| 204 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | …ntributing/samples/multi_agent/hello_world_ma/agent.py | 0 | you are responsible for rolling dice based on the user's request. when asked to roll a die, you must call the roll_die t |
| HIGH | contributing/samples/a2a/a2a_basic/agent.py | 0 | you are responsible for rolling dice based on the user's request. when asked to roll a die, you must call the roll_die t |
| HIGH | …ples/legacy_workflows/simple_sequential_agent/agent.py | 0 | you are responsible for rolling dice based on the user's request. when asked to roll a die, you must call the roll_die t |
| HIGH | …/samples/live/live_bidi_streaming_multi_agent/agent.py | 0 | you are responsible for rolling dice based on the user's request. when asked to roll a die, you must call the roll_die t |
| HIGH | …ntributing/samples/multi_agent/hello_world_ma/agent.py | 0 | you are responsible for checking whether numbers are prime. when asked to check primes, you must call the check_prime to |
| HIGH | …ples/legacy_workflows/simple_sequential_agent/agent.py | 0 | you are responsible for checking whether numbers are prime. when asked to check primes, you must call the check_prime to |
| HIGH | …/samples/live/live_bidi_streaming_multi_agent/agent.py | 0 | you are responsible for checking whether numbers are prime. when asked to check primes, you must call the check_prime to |
| HIGH | …ntributing/samples/tools/built_in_multi_tools/agent.py | 0 | roll a die and return the rolled result. args: sides: the integer number of sides the die has. returns: an integer of th |
| HIGH | …ples/tools/agent_tool_with_grounding_metadata/agent.py | 0 | roll a die and return the rolled result. args: sides: the integer number of sides the die has. returns: an integer of th |
| HIGH | …tributing/samples/tools/tool_functions_config/tools.py | 0 | roll a die and return the rolled result. args: sides: the integer number of sides the die has. returns: an integer of th |
| HIGH | contributing/samples/core/hello_world/agent.py | 0 | roll a die and return the rolled result. args: sides: the integer number of sides the die has. returns: an integer of th |
| HIGH | contributing/samples/patterns/fields_planner/agent.py | 0 | roll a die and return the rolled result. args: sides: the integer number of sides the die has. returns: an integer of th |
| HIGH | …tributing/samples/config/core_callback_config/tools.py | 0 | roll a die and return the rolled result. args: sides: the integer number of sides the die has. returns: an integer of th |
| HIGH | …in_reflect_tool_retry/hallucinating_func_name/agent.py | 0 | roll a die and return the rolled result. args: sides: the integer number of sides the die has. returns: an integer of th |
| HIGH | contributing/samples/models/hello_world_ollama/agent.py | 0 | roll a die and return the rolled result. args: sides: the integer number of sides the die has. returns: an integer of th |
| HIGH | …ls/hello_world_litellm_add_function_to_prompt/agent.py | 0 | roll a die and return the rolled result. args: sides: the integer number of sides the die has. returns: an integer of th |
| HIGH | contributing/samples/models/hello_world_gemma/agent.py | 0 | roll a die and return the rolled result. args: sides: the integer number of sides the die has. returns: an integer of th |
| HIGH | …ributing/samples/models/hello_world_anthropic/agent.py | 0 | roll a die and return the rolled result. args: sides: the integer number of sides the die has. returns: an integer of th |
| HIGH | …ributing/samples/models/hello_world_apigeellm/agent.py | 0 | roll a die and return the rolled result. args: sides: the integer number of sides the die has. returns: an integer of th |
| HIGH | …ting/samples/models/hello_world_gemma3_ollama/agent.py | 0 | roll a die and return the rolled result. args: sides: the integer number of sides the die has. returns: an integer of th |
| HIGH | …ntributing/samples/models/hello_world_litellm/agent.py | 0 | roll a die and return the rolled result. args: sides: the integer number of sides the die has. returns: an integer of th |
| HIGH | …samples/live/live_bidi_streaming_single_agent/agent.py | 0 | roll a die and return the rolled result. args: sides: the integer number of sides the die has. returns: an integer of th |
| HIGH | …samples/context_management/history_management/agent.py | 0 | roll a die and return the rolled result. args: sides: the integer number of sides the die has. returns: an integer of th |
| HIGH | …samples/context_management/migrate_session_db/agent.py | 0 | roll a die and return the rolled result. args: sides: the integer number of sides the die has. returns: an integer of th |
| HIGH | …s/integration/fixture/hello_world_agent_async/agent.py | 0 | roll a die and return the rolled result. args: sides: the integer number of sides the die has. returns: an integer of th |
| HIGH | tests/integration/fixture/hello_world_agent/agent.py | 0 | roll a die and return the rolled result. args: sides: the integer number of sides the die has. returns: an integer of th |
| HIGH | …tributing/samples/tools/tool_functions_config/tools.py | 0 | check if a given list of numbers are prime. args: nums: the list of numbers to check. returns: a str indicating which nu |
| HIGH | contributing/samples/core/hello_world/agent.py | 0 | check if a given list of numbers are prime. args: nums: the list of numbers to check. returns: a str indicating which nu |
| HIGH | contributing/samples/patterns/fields_planner/agent.py | 0 | check if a given list of numbers are prime. args: nums: the list of numbers to check. returns: a str indicating which nu |
| HIGH | …tributing/samples/config/core_callback_config/tools.py | 0 | check if a given list of numbers are prime. args: nums: the list of numbers to check. returns: a str indicating which nu |
| HIGH | …es/a2a/a2a_basic/remote_a2a/check_prime_agent/agent.py | 0 | check if a given list of numbers are prime. args: nums: the list of numbers to check. returns: a str indicating which nu |
| HIGH | …g/samples/a2a/a2a_root/remote_a2a/hello_world/agent.py | 0 | check if a given list of numbers are prime. args: nums: the list of numbers to check. returns: a str indicating which nu |
| HIGH | contributing/samples/models/hello_world_gemma/agent.py | 0 | check if a given list of numbers are prime. args: nums: the list of numbers to check. returns: a str indicating which nu |
| HIGH | …ributing/samples/models/hello_world_anthropic/agent.py | 0 | check if a given list of numbers are prime. args: nums: the list of numbers to check. returns: a str indicating which nu |
| HIGH | …ributing/samples/models/hello_world_apigeellm/agent.py | 0 | check if a given list of numbers are prime. args: nums: the list of numbers to check. returns: a str indicating which nu |
| HIGH | …ting/samples/models/hello_world_gemma3_ollama/agent.py | 0 | check if a given list of numbers are prime. args: nums: the list of numbers to check. returns: a str indicating which nu |
| HIGH | …ntributing/samples/models/hello_world_litellm/agent.py | 0 | check if a given list of numbers are prime. args: nums: the list of numbers to check. returns: a str indicating which nu |
| HIGH | …samples/live/live_bidi_streaming_single_agent/agent.py | 0 | check if a given list of numbers are prime. args: nums: the list of numbers to check. returns: a str indicating which nu |
| HIGH | …samples/context_management/history_management/agent.py | 0 | check if a given list of numbers are prime. args: nums: the list of numbers to check. returns: a str indicating which nu |
| HIGH | …samples/context_management/migrate_session_db/agent.py | 0 | check if a given list of numbers are prime. args: nums: the list of numbers to check. returns: a str indicating which nu |
| HIGH | …s/integration/fixture/hello_world_agent_async/agent.py | 0 | check if a given list of numbers are prime. args: nums: the list of numbers to check. returns: a str indicating which nu |
| HIGH | tests/integration/fixture/hello_world_agent/agent.py | 0 | check if a given list of numbers are prime. args: nums: the list of numbers to check. returns: a str indicating which nu |
| HIGH | contributing/samples/core/hello_world/agent.py | 0 | you roll dice and answer questions about the outcome of the dice rolls. you can roll dice of different sizes. you can us |
| HIGH | contributing/samples/patterns/fields_planner/agent.py | 0 | you roll dice and answer questions about the outcome of the dice rolls. you can roll dice of different sizes. you can us |
| HIGH | …g/samples/a2a/a2a_root/remote_a2a/hello_world/agent.py | 0 | you roll dice and answer questions about the outcome of the dice rolls. you can roll dice of different sizes. you can us |
| HIGH | contributing/samples/models/hello_world_ollama/agent.py | 0 | you roll dice and answer questions about the outcome of the dice rolls. you can roll dice of different sizes. you can us |
| HIGH | …ributing/samples/models/hello_world_anthropic/agent.py | 0 | you roll dice and answer questions about the outcome of the dice rolls. you can roll dice of different sizes. you can us |
| HIGH | …ributing/samples/models/hello_world_apigeellm/agent.py | 0 | you roll dice and answer questions about the outcome of the dice rolls. you can roll dice of different sizes. you can us |
| HIGH | …ntributing/samples/models/hello_world_litellm/agent.py | 0 | you roll dice and answer questions about the outcome of the dice rolls. you can roll dice of different sizes. you can us |
| HIGH | …samples/context_management/history_management/agent.py | 0 | you roll dice and answer questions about the outcome of the dice rolls. you can roll dice of different sizes. you can us |
| HIGH | …samples/context_management/migrate_session_db/agent.py | 0 | you roll dice and answer questions about the outcome of the dice rolls. you can roll dice of different sizes. you can us |
| HIGH | …buting/samples/adk_team/adk_pr_triaging_agent/utils.py | 0 | call the agent asynchronously with the user's prompt. |
| HIGH | …ributing/samples/adk_team/adk_answering_agent/utils.py | 0 | call the agent asynchronously with the user's prompt. |
| HIGH | …ntributing/samples/adk_team/adk_documentation/utils.py | 0 | call the agent asynchronously with the user's prompt. |
| HIGH | …ntributing/samples/adk_team/adk_triaging_agent/main.py | 0 | call the agent asynchronously with the user's prompt. |
| HIGH | …g/samples/environment_and_skills/skills_agent/agent.py | 0 | returns the current wind speed for a given location. |
| HIGH | …ibuting/samples/environment_and_skills/skills/agent.py | 0 | returns the current wind speed for a given location. |
| HIGH | …nvironment_and_skills/local_environment_skill/agent.py | 0 | returns the current wind speed for a given location. |
| HIGH | …lls_agent/skills/weather-skill/scripts/get_humidity.py | 0 | fetch live humidity for a given location. (simulated) |
| HIGH | …ls/skills/skills/weather-skill/scripts/get_humidity.py | 0 | fetch live humidity for a given location. (simulated) |
| 112 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | …buting/samples/tools/output_schema_with_tools/agent.py | 83 | # Create the knowledge agent that uses google_search tool. |
| MEDIUM | …buting/samples/tools/output_schema_with_tools/agent.py | 98 | # Create the agent with both output_schema and tools |
| MEDIUM | contributing/samples/tools/pydantic_argument/agent.py | 161 | # Create the agent with all Pydantic tools |
| MEDIUM | contributing/samples/tools/pydantic_argument/main.py | 61 | # Create a session |
| MEDIUM | contributing/samples/core/logprobs/agent.py | 97 | # Create a simple agent that demonstrates logprobs usage |
| MEDIUM | …tributing/samples/adk_team/adk_answering_agent/main.py | 203 | # Create a new session for each discussion to avoid interference. |
| MEDIUM | …es/adk_team/adk_documentation/adk_docs_updater/main.py | 96 | # Create a new session for each suggestion to avoid context interference |
| MEDIUM | contributing/samples/adk_team/adk_stale_agent/utils.py | 88 | # Create a single, reusable Session object for connection pooling |
| MEDIUM | …mples/environment_and_skills/skills_agent_gcs/agent.py | 36 | # Define the GCS bucket and skills prefix |
| MEDIUM | …mples/environment_and_skills/skills_agent_gcs/agent.py | 60 | # Create the SkillToolset |
| MEDIUM | …mples/environment_and_skills/skills_agent_gcs/agent.py | 63 | # Create the Agent |
| MEDIUM | …mples/environment_and_skills/skills_agent_gcs/agent.py | 84 | # Create a Runner |
| MEDIUM | …tributing/samples/plugin/plugin_debug_logging/agent.py | 106 | # Create the app with DebugLoggingPlugin |
| MEDIUM | …ributing/samples/mcp/mcp_server_side_sampling/agent.py | 37 | # Create the ADK MCPToolset, which connects to the FastMCP server. |
| MEDIUM | …ributing/samples/mcp/mcp_server_side_sampling/agent.py | 47 | # Define the ADK agent that uses the MCP toolset. |
| MEDIUM | …ing/samples/mcp/mcp_server_side_sampling/mcp_server.py | 36 | # Create the FastMCP Server instance. |
| MEDIUM | …tributing/samples/mcp/mcp_in_agent_tool_stdio/agent.py | 61 | # Create main agent |
| MEDIUM | …ples/mcp/mcp_streamablehttp_agent/filesystem_server.py | 23 | # Create an MCP server with a name |
| MEDIUM | …ibuting/samples/mcp/mcp_sse_agent/filesystem_server.py | 22 | # Create an MCP server with a name |
| MEDIUM | contributing/samples/mcp/mcp_toolset_auth/agent.py | 55 | # Create the MCP toolset with OAuth authentication |
| MEDIUM | contributing/samples/mcp/mcp_toolset_auth/agent.py | 64 | # Define the agent that uses the OAuth-protected MCP toolset |
| MEDIUM | contributing/samples/mcp/mcp_toolset_auth/main.py | 64 | # Create a session |
| MEDIUM | …ributing/samples/mcp/mcp_in_agent_tool_remote/agent.py | 54 | # Create main agent |
| MEDIUM | contributing/samples/models/interactions_api/main.py | 331 | # Create a new session |
| MEDIUM | …buting/samples/integrations/spanner_rag_agent/agent.py | 26 | # Define an appropriate credential type |
| MEDIUM | contributing/samples/integrations/bigtable/agent.py | 27 | # Define an appropriate credential type. |
| MEDIUM | contributing/samples/integrations/data_agent/agent.py | 32 | # Define the desired credential type. |
| MEDIUM | contributing/samples/integrations/bigquery/agent.py | 26 | # Define the desired credential type. |
| MEDIUM | contributing/samples/integrations/bigquery/agent.py | 32 | # Define an appropriate application name |
| MEDIUM | …amples/integrations/oauth2_client_credentials/agent.py | 112 | # Create the weather assistant agent |
| MEDIUM | contributing/samples/integrations/pubsub/agent.py | 25 | # Define the desired credential type. |
| MEDIUM | contributing/samples/integrations/pubsub/agent.py | 31 | # Define an appropriate application name |
| MEDIUM | contributing/samples/integrations/spanner/agent.py | 31 | # Define an appropriate credential type |
| MEDIUM | …ing/samples/integrations/sandbox_computer_use/agent.py | 62 | # Create the sandbox computer |
| MEDIUM | …ntributing/samples/integrations/spanner_admin/agent.py | 23 | # Define an appropriate credential type |
| MEDIUM | …ng/samples/multimodal/static_non_text_content/agent.py | 127 | # Create a temporary file with the sample document |
| MEDIUM | …ng/samples/multimodal/static_non_text_content/agent.py | 213 | # Create the root agent with Files API integration |
| MEDIUM | …ributing/samples/multimodal/computer_use/playwright.py | 26 | # Define a mapping from the user-friendly key names to Playwright's expected key names. |
| MEDIUM | …/samples/live/live_bidi_streaming_tools_agent/agent.py | 81 | # Create an image part using the blob's data and mime type |
| MEDIUM | …buting/samples/live/live_tool_callbacks_agent/agent.py | 218 | # Create the agent with tool callbacks |
| MEDIUM | …ing/samples/context_management/cache_analysis/agent.py | 640 | # Create the cache analysis research assistant agent |
| MEDIUM | …ing/samples/context_management/cache_analysis/agent.py | 837 | # Create the app with context caching configuration |
| MEDIUM | …ing/samples/context_management/rewind_session/agent.py | 52 | # Create the agent |
| MEDIUM | …ting/samples/context_management/rewind_session/main.py | 100 | # Create a session |
| MEDIUM | …ontext_management/postgres_session_service/compose.yml | 3 | # This file defines a PostgreSQL service used to demonstrate ADK's |
| MEDIUM | tests/integration/fixture/bigquery_agent/agent.py | 32 | # Define an appropriate application name |
| MEDIUM | tests/unittests/test_runners.py | 496 | # Create a function call from sub_agent1 |
| MEDIUM | tests/unittests/test_runners.py | 639 | # Create a function call from sub_agent2 |
| MEDIUM | tests/unittests/test_runners.py | 1070 | # Create a mock session |
| MEDIUM | tests/unittests/artifacts/test_artifact_service.py | 42 | # Define a fixed datetime object to be returned by datetime.now() |
| MEDIUM | …nittests/tools/test_base_google_credentials_manager.py | 363 | # Create a mock credentials instance that will represent our created credentials |
| MEDIUM | …nittests/tools/test_base_google_credentials_manager.py | 439 | # Create the mock credentials instance that will be returned by the constructor |
| MEDIUM | …ts/unittests/tools/test_authenticated_function_tool.py | 99 | # Create a mock auth_type that returns the expected value |
| MEDIUM | …ts/unittests/tools/test_authenticated_function_tool.py | 522 | # Create a spy function to check what arguments are passed |
| MEDIUM | tests/unittests/tools/test_skill_toolset.py | 1893 | # Create a mock registry skill that declares local additional tools |
| MEDIUM | tests/unittests/tools/test_transfer_to_agent_tool.py | 139 | # Create a mock FunctionDeclaration with parameters_json_schema |
| MEDIUM | tests/unittests/tools/test_agent_tool.py | 626 | # Create a test plugin that tracks callbacks |
| MEDIUM | tests/unittests/tools/test_function_tool_pydantic.py | 124 | # Create an existing Pydantic model |
| MEDIUM | …ittests/tools/google_api_tool/test_docs_batchupdate.py | 404 | # Create a mock for the build function |
| MEDIUM | …google_api_tool/test_googleapi_to_openapi_converter.py | 227 | # Create a mock for the build function |
| 215 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | contributing/samples/adk_team/adk_stale_agent/utils.py | 100 | Sends a GET request to the GitHub API with automatic retries. Args: url (str): The URL endpoint. param |
| HIGH | contributing/samples/adk_team/adk_stale_agent/agent.py | 125 | Executes the GraphQL query to fetch raw issue data, including comments, edits, and timeline events. Args: |
| HIGH | contributing/samples/adk_team/adk_stale_agent/main.py | 41 | Processes a single GitHub issue using the AI agent and logs execution metrics. Args: issue_number (int): The |
| HIGH | contributing/samples/integrations/gepa/adk_agent.py | 219 | Defines and runs an ADK LLM Agent in the provided simulation environment. Args: instruction: The instruction for |
| HIGH | …tributing/samples/integrations/gepa/tau_bench_agent.py | 99 | Solves the task using ADK agent. Args: env: The environment to solve the task in. task_index: The index |
| HIGH | …sts/unittests/tools/spanner/test_spanner_query_tool.py | 59 | \ Run a Spanner Read-Only query in the spanner database and return the result. Args: project_id (str): |
| HIGH | …sts/unittests/tools/spanner/test_spanner_query_tool.py | 110 | \ Run a Spanner Read-Only query in the spanner database and return the result. Args: project_id (str): |
| HIGH | …ests/integrations/bigquery/test_bigquery_query_tool.py | 90 | \ Run a BigQuery or BigQuery ML SQL query in the project and return the result. Args: project_id (str): |
| HIGH | …ests/integrations/bigquery/test_bigquery_query_tool.py | 189 | \ Run a BigQuery or BigQuery ML SQL query in the project and return the result. Args: project_id (str): |
| HIGH | …ests/integrations/bigquery/test_bigquery_query_tool.py | 426 | \ Run a BigQuery or BigQuery ML SQL query in the project and return the result. Args: project_id (str): |
| HIGH | src/google/adk/runners.py | 845 | Gets the session or creates it if auto-creation is enabled. This helper first attempts to retrieve the session. If |
| HIGH | src/google/adk/runners.py | 956 | Main entry method to run the agent in this runner. If event compaction is enabled in the App configuration, it will |
| HIGH | src/google/adk/runners.py | 1785 | Debug helper for quick agent experimentation and testing. This convenience method is designed for developers gettin |
| HIGH | src/google/adk/runners.py | 1933 | Sets up the context for a resumed invocation. Args: session: The session to set up the invocation context for |
| HIGH | src/google/adk/artifacts/file_artifact_service.py | 91 | Returns the absolute artifact directory and its relative path. The caller is expected to pass the scope root director |
| HIGH | src/google/adk/tools/_gemini_schema_util.py | 36 | Converts a string into snake_case. Handles lowerCamelCase, UpperCamelCase, or space-separated case, acronyms (e.g., |
| HIGH | src/google/adk/tools/bigtable/query_tool.py | 46 | Execute a GoogleSQL query from a Bigtable table. Args: project_id (str): The GCP project id in which the query |
| HIGH | src/google/adk/tools/data_agent/data_agent_tool.py | 54 | Lists accessible data agents in a project. Args: project_id: The project to list agents in. credentials: |
| HIGH | src/google/adk/tools/data_agent/data_agent_tool.py | 141 | Gets a data agent by name. Args: data_agent_name: The name of the agent to get, in format projects/{pro |
| HIGH | src/google/adk/tools/data_agent/data_agent_tool.py | 212 | Asks a question to a data agent. Args: data_agent_name: The resource name of an existing data agent to ask, in |
| HIGH | …/google/adk/tools/apihub_tool/clients/apihub_client.py | 205 | Extracts the resource names of an API, API Version, and API Spec from a given URL or path. Args: url_or_pat |
| HIGH | src/google/adk/tools/spanner/search_tool.py | 248 | Similarity search in Spanner using a text query. The function will use embedding service (provided from options) to e |
| HIGH | src/google/adk/tools/spanner/search_tool.py | 540 | Performs a semantic similarity search to retrieve relevant context from the Spanner vector store. This function perfo |
| HIGH | src/google/adk/tools/spanner/metadata_tool.py | 33 | List tables within the database. Args: project_id (str): The Google Cloud project id. instance_id (str): |
| HIGH | src/google/adk/tools/spanner/metadata_tool.py | 84 | Get schema and metadata information about a Spanner table. Args: project_id (str): The Google Cloud project id. |
| HIGH | src/google/adk/tools/spanner/metadata_tool.py | 298 | Get index information about a Spanner table. Args: project_id (str): The Google Cloud project id. instanc |
| HIGH | src/google/adk/tools/spanner/metadata_tool.py | 398 | Get the columns in each index of a Spanner table. Args: project_id (str): The Google Cloud project id. in |
| HIGH | src/google/adk/tools/spanner/metadata_tool.py | 501 | Get the named schemas in the Spanner database. Args: project_id (str): The Google Cloud project id. insta |
| HIGH | src/google/adk/tools/spanner/query_tool.py | 39 | Run a Spanner Read-Only query in the spanner database and return the result. Args: project_id (str): The GCP pr |
| HIGH | src/google/adk/tools/spanner/query_tool.py | 97 | \ Run a Spanner Read-Only query in the spanner database and return the result. Args: project_id (str): The GCP proj |
| HIGH | src/google/adk/tools/spanner/admin_tool.py | 31 | List Spanner instances within a project. Args: project_id: The Google Cloud project id. credentials: The |
| HIGH | src/google/adk/tools/spanner/admin_tool.py | 72 | Get details of a Spanner instance. Args: project_id: The Google Cloud project id. instance_id: The Spanne |
| HIGH | src/google/adk/tools/spanner/admin_tool.py | 124 | List Spanner instance configs available for a project. Args: project_id: The Google Cloud project id. cre |
| HIGH | src/google/adk/tools/spanner/admin_tool.py | 164 | Get details of a Spanner instance config. Args: project_id: The Google Cloud project id. config_id: The S |
| HIGH | src/google/adk/tools/spanner/admin_tool.py | 233 | Create a Spanner instance. Args: project_id: The Google Cloud project id. instance_id: The Spanner instan |
| HIGH | src/google/adk/tools/spanner/admin_tool.py | 290 | List Spanner databases within an instance. Args: project_id: The Google Cloud project id. instance_id: Th |
| HIGH | src/google/adk/tools/spanner/admin_tool.py | 335 | Create a Spanner database. Args: project_id: The Google Cloud project id. instance_id: The Spanner instan |
| HIGH | …ication_integration_tool/clients/connections_client.py | 93 | Retrieves the JSON schema for a given entity in a connection. Args: entity (str): The entity name. Ret |
| HIGH | …ication_integration_tool/clients/connections_client.py | 123 | Retrieves the input and output JSON schema for a given action in a connection. Args: action (str): The acti |
| HIGH | …ication_integration_tool/clients/connections_client.py | 848 | Executes an API call to the given URL. Args: url (str): The URL to call. Returns: requests.Res |
| HIGH | …ication_integration_tool/clients/connections_client.py | 892 | Polls an operation until it is done. Args: operation_id: The ID of the operation to poll. Returns: |
| HIGH | src/google/adk/tools/mcp_tool/session_context.py | 163 | Run a coroutine while monitoring the background session task. Races the given coroutine against the background task |
| HIGH | src/google/adk/tools/mcp_tool/mcp_session_manager.py | 416 | Creates an MCP client based on the connection parameters. Args: merged_headers: Optional headers to include |
| HIGH | src/google/adk/tools/mcp_tool/conversion_utils.py | 28 | Convert a Tool in ADK into MCP tool type. This function transforms an ADK tool definition into its equivalent repre |
| HIGH | src/google/adk/tools/mcp_tool/conversion_utils.py | 64 | Converts a Gemini Schema object into a JSON Schema dictionary. Args: gemini_schema: An instance of the Gemini S |
| HIGH | src/google/adk/tools/mcp_tool/mcp_tool.py | 507 | Extracts authentication headers from credentials. Args: tool_context: The tool context of the current invoc |
| HIGH | …ools/openapi_tool/openapi_spec_parser/rest_api_tool.py | 317 | Prepares the request parameters for the API call. Args: parameters: A list of ApiParameter objects represen |
| HIGH | src/google/adk/tools/openapi_tool/auth/auth_helpers.py | 80 | Creates a AuthScheme and AuthCredential for API key or bearer token. Examples: ``` # API Key in header auth_sch |
| HIGH | src/google/adk/tools/openapi_tool/auth/auth_helpers.py | 211 | Constructs OpenID scheme and credential from configuration and credential dictionaries. Args: config_dict: Dict |
| HIGH | src/google/adk/tools/openapi_tool/auth/auth_helpers.py | 275 | Constructs OpenID scheme and credential from OpenID URL, scopes, and credential dictionary. Fetches OpenID configurat |
| HIGH | src/google/adk/tools/openapi_tool/auth/auth_helpers.py | 430 | Converts a dictionary to a FastAPI AuthScheme object. Args: data: The dictionary representing the security sche |
| HIGH | …uth/credential_exchangers/service_account_exchanger.py | 87 | Exchanges the service account credential for an ID token. Args: sa_config: The service account configuratio |
| HIGH | …uth/credential_exchangers/service_account_exchanger.py | 137 | Exchanges the service account credential for an access token. Args: sa_config: The service account configur |
| HIGH | …uth/credential_exchangers/base_credential_exchanger.py | 41 | Exchanges the provided authentication credential for a usable token/credential. Args: auth_scheme: The secu |
| HIGH | …pi_tool/auth/credential_exchangers/oauth2_exchanger.py | 94 | Exchanges the OpenID Connect auth credential for an access token or an auth URI. Args: auth_scheme: The aut |
| HIGH | …google/adk/auth/exchanger/base_credential_exchanger.py | 51 | Exchange credential if needed. Args: auth_credential: The credential to exchange. auth_scheme: The |
| HIGH | …ogle/adk/auth/exchanger/oauth2_credential_exchanger.py | 56 | Exchange OAuth2 credential from authorization response. if credential exchange failed, the original credential will |
| HIGH | …google/adk/auth/refresher/base_credential_refresher.py | 62 | Refreshes a credential if needed. Args: auth_credential: The credential to refresh. auth_scheme: Th |
| HIGH | src/google/adk/plugins/plugin_manager.py | 278 | Executes a specific callback for all registered plugins. This private method iterates through the plugins and calls |
| HIGH | src/google/adk/a2a/converters/event_converter.py | 111 | Gets the context metadata for the event. Args: event: The ADK event to extract metadata from. invocation_cont |
| 68 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …buting/samples/tools/output_schema_with_tools/agent.py | 68 | except Exception as e: |
| LOW | contributing/samples/tools/pydantic_argument/main.py | 98 | except Exception as e: |
| MEDIUM | …buting/samples/adk_team/adk_pr_triaging_agent/utils.py | 80 | print(f"Error: File not found: {file_path}.") |
| LOW | …ng/samples/adk_team/adk_issue_monitoring_agent/main.py | 148 | except Exception as e: |
| LOW | …ng/samples/adk_team/adk_issue_monitoring_agent/main.py | 165 | except Exception as e: |
| LOW | …ng/samples/adk_team/adk_issue_monitoring_agent/main.py | 172 | except Exception as e: |
| MEDIUM | …ributing/samples/adk_team/adk_answering_agent/utils.py | 97 | print(f"Error: Invalid GCS link format: {gcs_uri}") |
| MEDIUM | …ributing/samples/adk_team/adk_answering_agent/utils.py | 111 | print(f"Error: Failed to parse GCS link '{gcs_uri}': {e}") |
| MEDIUM | …tributing/samples/adk_team/adk_answering_agent/main.py | 82 | print(f"Error from GitHub API: {response['errors']}", file=sys.stderr) |
| MEDIUM | …tributing/samples/adk_team/adk_answering_agent/main.py | 179 | print("Error: Discussion JSON missing 'number' field.", file=sys.stderr) |
| MEDIUM | …tributing/samples/adk_team/adk_answering_agent/main.py | 186 | print(f"Error: File not found: {args.discussion_file}", file=sys.stderr) |
| MEDIUM | …tributing/samples/adk_team/adk_answering_agent/main.py | 189 | print(f"Error: Invalid JSON in {source_desc}: {e}", file=sys.stderr) |
| MEDIUM | …g/samples/adk_team/adk_issue_formatting_agent/utils.py | 53 | print(f"Error: File not found: {file_path}.") |
| LOW | …es/adk_team/adk_documentation/adk_docs_updater/main.py | 126 | except Exception as e: |
| LOW | contributing/samples/adk_team/adk_stale_agent/agent.py | 97 | except Exception as e: |
| LOW | contributing/samples/adk_team/adk_stale_agent/agent.py | 452 | except Exception as e: |
| LOW | contributing/samples/adk_team/adk_stale_agent/main.py | 88 | except Exception as e: |
| LOW | contributing/samples/adk_team/adk_stale_agent/main.py | 121 | except Exception as e: |
| LOW | contributing/samples/adk_team/adk_stale_agent/main.py | 191 | except Exception as e: |
| MEDIUM | …ntributing/samples/adk_team/adk_triaging_agent/main.py | 86 | print(f"Error fetching issue #{issue_number}: {e}") |
| MEDIUM | …ntributing/samples/adk_team/adk_triaging_agent/main.py | 134 | print(f"Error: Invalid issue number received: {ISSUE_NUMBER}.") |
| LOW | contributing/samples/adk_team/adk_pr_agent/agent.py | 66 | except Exception as e: # pylint: disable=broad-except |
| LOW | …mples/environment_and_skills/skills_agent_gcs/agent.py | 57 | except Exception as e: # pylint: disable=broad-exception-caught |
| LOW | …tributing/samples/plugin/plugin_debug_logging/agent.py | 84 | except Exception as e: |
| LOW | contributing/samples/workflows/auth_oauth/agent.py | 111 | except Exception as e: |
| LOW | …ing/samples/mcp/mcp_server_side_sampling/mcp_server.py | 61 | except Exception as e: |
| LOW | …ples/mcp/mcp_streamablehttp_agent/filesystem_server.py | 96 | except Exception as e: |
| LOW | …ibuting/samples/mcp/mcp_sse_agent/filesystem_server.py | 84 | except Exception as e: |
| LOW | contributing/samples/mcp/mcp_toolset_auth/main.py | 105 | except Exception as e: |
| LOW | contributing/samples/models/interactions_api/main.py | 306 | except Exception: |
| LOW | contributing/samples/models/interactions_api/main.py | 355 | except Exception as e: |
| LOW | …g/samples/integrations/authn-adk-all-in-one/idp/app.py | 498 | except Exception as e: |
| LOW | …g/samples/integrations/authn-adk-all-in-one/idp/app.py | 528 | except Exception as e: |
| LOW | …g/samples/integrations/authn-adk-all-in-one/idp/app.py | 562 | except Exception as e: |
| MEDIUM | …g/samples/integrations/authn-adk-all-in-one/idp/app.py | 484 | def admin_update_config(): |
| MEDIUM | …g/samples/integrations/authn-adk-all-in-one/idp/app.py | 503 | def admin_add_user(): |
| MEDIUM | …g/samples/integrations/authn-adk-all-in-one/idp/app.py | 533 | def admin_add_client(): |
| LOW | …grations/authn-adk-all-in-one/hotel_booker_app/main.py | 145 | except Exception as e: |
| LOW | contributing/samples/integrations/data_agent/agent.py | 120 | except Exception as e: # pylint: disable=broad-exception-caught |
| LOW | contributing/samples/integrations/gepa/experiment.py | 181 | except Exception as e: |
| LOW | …ibuting/samples/integrations/gepa/voter_agent/tools.py | 221 | except Exception as e: |
| LOW | …ibuting/samples/integrations/gepa/voter_agent/tools.py | 303 | except Exception as e: |
| LOW | …ations/oauth2_client_credentials/oauth2_test_server.py | 155 | except Exception: |
| LOW | …amples/integrations/oauth2_client_credentials/agent.py | 108 | except Exception as e: |
| LOW | …samples/integrations/oauth2_client_credentials/main.py | 123 | except Exception as e: |
| MEDIUM | …ing/samples/multimodal/static_non_text_content/main.py | 155 | print(f"Error: {e}") |
| LOW | …ing/samples/multimodal/static_non_text_content/main.py | 218 | except Exception as e: |
| LOW | …ributing/samples/multimodal/computer_use/playwright.py | 154 | except Exception as e: |
| MEDIUM | …ve/live_agent_api_server_example/live_agent_example.py | 682 | print(f"Error sending file: {e_sendfile}") |
| LOW | …ve/live_agent_api_server_example/live_agent_example.py | 302 | except Exception as e: |
| LOW | …ve/live_agent_api_server_example/live_agent_example.py | 310 | except Exception as e: |
| LOW | …ve/live_agent_api_server_example/live_agent_example.py | 559 | except Exception as e: |
| LOW | …ve/live_agent_api_server_example/live_agent_example.py | 567 | except Exception as e: |
| LOW | …ve/live_agent_api_server_example/live_agent_example.py | 574 | except Exception as e: |
| LOW | …ve/live_agent_api_server_example/live_agent_example.py | 157 | except Exception as e: |
| LOW | …ve/live_agent_api_server_example/live_agent_example.py | 263 | except Exception as e: |
| LOW | …ve/live_agent_api_server_example/live_agent_example.py | 269 | except Exception as e: |
| LOW | …ve/live_agent_api_server_example/live_agent_example.py | 282 | except Exception as e_sd_close: |
| LOW | …ve/live_agent_api_server_example/live_agent_example.py | 379 | except Exception as e: |
| LOW | …ve/live_agent_api_server_example/live_agent_example.py | 432 | except Exception as e: |
| 330 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | contributing/samples/core/artifacts/agent.py | 159 | |
| LOW | contributing/samples/core/runner_debug_example/main.py | 132 | |
| LOW | …g/samples/adk_team/adk_issue_monitoring_agent/utils.py | 114 | |
| LOW | …g/samples/adk_team/adk_issue_monitoring_agent/agent.py | 46 | |
| LOW | …adk_answering_agent/upload_docs_to_vertex_ai_search.py | 54 | |
| LOW | …tributing/samples/adk_team/adk_answering_agent/main.py | 145 | |
| LOW | …adk_team/adk_answering_agent/gemini_assistant/agent.py | 29 | |
| LOW | …ntributing/samples/adk_team/adk_documentation/tools.py | 118 | |
| LOW | …ntributing/samples/adk_team/adk_documentation/tools.py | 254 | |
| LOW | …ntributing/samples/adk_team/adk_documentation/tools.py | 696 | |
| LOW | contributing/samples/adk_team/adk_stale_agent/utils.py | 200 | |
| LOW | contributing/samples/adk_team/adk_pr_agent/agent.py | 30 | |
| LOW | …les/patterns/context_offloading_with_artifact/agent.py | 53 | |
| LOW | …les/patterns/context_offloading_with_artifact/agent.py | 192 | |
| LOW | contributing/samples/hitl/human_in_loop/main.py | 42 | |
| LOW | contributing/samples/hitl/human_in_loop/main.py | 52 | |
| LOW | …cp/mcp_progress_callback_agent/mock_progress_server.py | 84 | |
| LOW | contributing/samples/mcp/mcp_toolset_auth/main.py | 48 | |
| LOW | …uting/samples/models/litellm_inline_tool_call/agent.py | 96 | |
| LOW | contributing/samples/models/interactions_api/main.py | 57 | |
| LOW | …g/samples/integrations/authn-adk-all-in-one/idp/app.py | 319 | |
| LOW | contributing/samples/integrations/gepa/experiment.py | 49 | |
| LOW | contributing/samples/integrations/gepa/rater_lib.py | 30 | |
| LOW | contributing/samples/integrations/gepa/rater_lib.py | 90 | |
| LOW | …ting/samples/integrations/sandbox_computer_use/main.py | 51 | |
| LOW | …ng/samples/multimodal/static_non_text_content/agent.py | 55 | |
| LOW | …ributing/samples/multimodal/computer_use/playwright.py | 232 | |
| LOW | …/samples/live/live_bidi_streaming_tools_agent/agent.py | 51 | |
| LOW | …ve/live_agent_api_server_example/live_agent_example.py | 397 | |
| LOW | …ve/live_agent_api_server_example/live_agent_example.py | 437 | |
| LOW | …ve/live_agent_api_server_example/live_agent_example.py | 209 | |
| LOW | …ve/live_agent_api_server_example/live_agent_example.py | 319 | |
| LOW | …ve/live_agent_api_server_example/live_agent_example.py | 493 | |
| LOW | …ve/live_agent_api_server_example/live_agent_example.py | 579 | |
| LOW | …ext_management/cache_analysis/run_cache_experiments.py | 541 | |
| LOW | …ting/samples/context_management/rewind_session/main.py | 56 | |
| LOW | …samples/context_management/static_instruction/agent.py | 142 | |
| LOW | contributing/dev/utils/build_llms_txt.py | 105 | |
| LOW | contributing/dev/utils/build_llms_txt.py | 269 | |
| LOW | contributing/dev/utils/build_llms_txt.py | 111 | |
| LOW | tests/integration/conftest.py | 95 | |
| LOW | …tion/fixture/ecommerce_customer_service_agent/agent.py | 250 | |
| LOW | …tegration/integrations/agent_identity/test_3lo_flow.py | 141 | |
| LOW | tests/unittests/testing_utils.py | 139 | |
| LOW | …sts/unittests/tools/test_function_tool_declarations.py | 108 | |
| LOW | …s/unittests/tools/bigtable/test_bigtable_query_tool.py | 133 | |
| LOW | …s/unittests/tools/mcp_tool/test_mcp_session_manager.py | 587 | |
| LOW | …s/unittests/tools/mcp_tool/test_mcp_session_manager.py | 913 | |
| LOW | …s/unittests/tools/mcp_tool/test_mcp_session_manager.py | 1055 | |
| LOW | …sts/unittests/plugins/test_context_filtering_plugin.py | 222 | |
| LOW | …sts/unittests/plugins/test_context_filtering_plugin.py | 270 | |
| LOW | …sts/unittests/plugins/test_context_filtering_plugin.py | 318 | |
| LOW | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 2011 | |
| LOW | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 5152 | |
| LOW | tests/unittests/agents/test_llm_agent_interruptions.py | 67 | |
| LOW | tests/unittests/agents/test_base_agent.py | 440 | |
| LOW | tests/unittests/agents/test_base_agent.py | 501 | |
| LOW | tests/unittests/agents/test_model_callback_chain.py | 134 | |
| LOW | tests/unittests/agents/test_model_callback_chain.py | 196 | |
| LOW | tests/unittests/agents/test_remote_a2a_agent.py | 2035 | |
| 307 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …ng/samples/adk_team/adk_issue_monitoring_agent/main.py | 161 | # Step 1: Fetch Maintainers |
| LOW | …ng/samples/adk_team/adk_issue_monitoring_agent/main.py | 169 | # Step 2: Fetch target issues |
| LOW | …ng/samples/adk_team/adk_issue_monitoring_agent/main.py | 186 | # Step 3: Iterate through issues async 'CONCURRENCY_LIMIT' at a time |
| LOW | …g/samples/adk_team/adk_issue_formatting_agent/agent.py | 163 | ## Step 1: Identify Issue Type & Applicability |
| LOW | …g/samples/adk_team/adk_issue_formatting_agent/agent.py | 173 | ## Step 2: Analyze the Issue Content |
| LOW | …g/samples/adk_team/adk_issue_formatting_agent/agent.py | 192 | ## Step 3: Formulate and Post a Comment (If Necessary) |
| LOW | …ntributing/samples/adk_team/adk_documentation/tools.py | 339 | # Step 0: Ensure we are on the base branch and it's up to date. |
| LOW | …ntributing/samples/adk_team/adk_documentation/tools.py | 343 | # Step 1: Create a new, unique branch from the base branch. |
| LOW | …ntributing/samples/adk_team/adk_documentation/tools.py | 349 | # Step 2: Apply the file changes. |
| LOW | …ntributing/samples/adk_team/adk_documentation/tools.py | 360 | # Step 3: Stage the changes. |
| LOW | …ntributing/samples/adk_team/adk_documentation/tools.py | 364 | # Step 4: Commit the changes. |
| LOW | …ntributing/samples/adk_team/adk_documentation/tools.py | 368 | # Step 5: Push the new branch to the remote repository. |
| LOW | …ntributing/samples/adk_team/adk_documentation/tools.py | 372 | # Step 6: Create the pull request via GitHub API. |
| LOW | tests/unittests/models/test_litellm.py | 2658 | # Step 2: Convert to ADK internal format (types.Content) |
| LOW | tests/unittests/models/test_litellm.py | 2663 | # Step 3: Convert back to litellm format |
| LOW | tests/unittests/models/test_litellm.py | 4919 | # Step 1: Extract reasoning value |
| LOW | tests/unittests/models/test_litellm.py | 4923 | # Step 2: Convert to parts (preserves signature) |
| LOW | tests/unittests/models/test_litellm.py | 4928 | # Step 3: Build Content for history |
| LOW | tests/unittests/models/test_litellm.py | 4932 | # Step 4: Convert back to message param for Anthropic |
| LOW | tests/unittests/models/test_litellm.py | 2641 | # Step 1: Incoming litellm message with thought_signature |
| LOW | tests/unittests/workflow/test_dynamic_node_scheduler.py | 1021 | # Step 1: root delegates to child |
| LOW | tests/unittests/workflow/test_dynamic_node_scheduler.py | 1032 | # Step 2: child delegates to grandchild |
| LOW | tests/unittests/workflow/test_dynamic_node_scheduler.py | 1043 | # Step 3: grandchild transfers back to child |
| LOW | tests/unittests/workflow/test_dynamic_node_scheduler.py | 1054 | # Step 4: child transfers back to root |
| LOW | tests/unittests/runners/test_resume_invocation.py | 60 | # Step 1: Setup |
| LOW | tests/unittests/runners/test_resume_invocation.py | 88 | # Step 2: Run the first invocation |
| LOW | tests/unittests/runners/test_resume_invocation.py | 121 | # Step 3: Run the second invocation |
| LOW | tests/unittests/runners/test_resume_invocation.py | 152 | # Step 4: Resume the second invocation with function response. |
| LOW | tests/unittests/runners/test_resume_invocation.py | 200 | # Step 1: Setup |
| LOW | tests/unittests/runners/test_resume_invocation.py | 224 | # Step 2: Run the first invocation, which pauses on the long running function. |
| LOW | tests/unittests/runners/test_resume_invocation.py | 253 | # Step 3: Run the second invocation, expect it to finish normally. |
| LOW | tests/unittests/runners/test_resume_invocation.py | 272 | # Step 4: Run the third invocation, which also pauses on the long running |
| LOW | tests/unittests/runners/test_resume_invocation.py | 291 | # Step 5: Resume the first invocation with long running function response. |
| LOW | tests/unittests/runners/test_run_tool_confirmation.py | 660 | # Step 1: |
| LOW | tests/unittests/runners/test_run_tool_confirmation.py | 715 | # Step 2: |
| LOW | .agents/skills/adk-pr-triage/scripts/triage_pr.py | 237 | # Step 0: Fetch PR data in one-shot |
| LOW | .agents/skills/adk-pr-triage/scripts/triage_pr.py | 242 | # Step 1: Verify CLA using cached PR data |
| LOW | .agents/skills/adk-pr-triage/scripts/triage_pr.py | 246 | # Step 2: Output the PR metadata JSON directly to standard output |
| LOW | .agents/skills/adk-pr-triage/scripts/triage_pr.py | 251 | # Step 3: Verify PR Assignment using cached PR data |
| LOW | .agents/skills/adk-pr-triage/scripts/triage_pr.py | 255 | # Step 4: Update branch |
| LOW | .github/workflows/release-cut.yml | 1 | # Step 1: Starts the release process by creating a release/candidate branch. |
| LOW | .github/workflows/release-finalize.yml | 1 | # Step 4: Triggers when the changelog PR is merged to release/candidate. |
| LOW | .github/workflows/release-publish.yml | 1 | # Step 6: Builds and publishes the package to PyPI from a release/v{version} branch. |
| LOW | src/google/adk/runners.py | 1903 | # Step 1: Create invocation context in memory. |
| LOW | src/google/adk/runners.py | 1909 | # Step 2: Handle new message, by running callbacks and appending to |
| LOW | src/google/adk/runners.py | 1918 | # Step 3: Set agent to run for the invocation. |
| LOW | src/google/adk/runners.py | 1952 | # Step 1: Maybe retrieve a previous user message for the invocation. |
| LOW | src/google/adk/runners.py | 1960 | # Step 2: Create invocation context. |
| LOW | src/google/adk/runners.py | 1967 | # Step 3: Maybe handle new message. |
| LOW | src/google/adk/runners.py | 1976 | # Step 4: Populate agent states for the current invocation. |
| LOW | src/google/adk/runners.py | 1978 | # Step 5: Set agent to run for the invocation. |
| LOW | src/google/adk/runners.py | 1367 | # Step 1: Run the before_run callbacks to see if we should early exit. |
| LOW | src/google/adk/runners.py | 1387 | # Step 2: Otherwise continue with normal execution |
| LOW | src/google/adk/runners.py | 1409 | # Step 3: Run the on_event callbacks before persisting so callback |
| LOW | src/google/adk/runners.py | 1473 | # Step 4: Run the after_run callbacks to perform global cleanup tasks or |
| LOW | src/google/adk/auth/credential_manager.py | 186 | # Step 0: Handle CustomAuthScheme if present |
| LOW | src/google/adk/auth/credential_manager.py | 231 | # Step 1: Validate credential configuration |
| LOW | src/google/adk/auth/credential_manager.py | 234 | # Step 2: Check if credential is already ready (no processing needed) |
| LOW | src/google/adk/auth/credential_manager.py | 240 | # Step 3: Try to load existing processed credential |
| LOW | src/google/adk/auth/credential_manager.py | 243 | # Step 4: If no existing credential, load from auth response |
| 30 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …ributing/samples/adk_team/adk_answering_agent/utils.py | 142 | # Check if the generated link exists |
| LOW | …ributing/samples/hitl/human_tool_confirmation/agent.py | 81 | # Set require_confirmation to True or a callable to require user |
| LOW | …uting/samples/mcp/mcp_toolset_auth/oauth_mcp_server.py | 105 | # Check if this is an MCP request |
| LOW | contributing/samples/models/interactions_api/main.py | 304 | # Check if interactions attribute exists |
| LOW | contributing/samples/models/interactions_api/main.py | 316 | # Check if interactions API is available |
| LOW | contributing/samples/models/interactions_api/main.py | 365 | # Check if interactions API is available |
| LOW | …ng/samples/multimodal/static_non_text_content/agent.py | 113 | # Check if file already exists |
| LOW | …ve/live_agent_api_server_example/live_agent_example.py | 298 | if pya_output_stream_instance.is_active(): # Check if stream is active |
| LOW | tests/unittests/test_optional_dependencies.py | 33 | # Check if we should run integration tests that require network/install |
| LOW | …i_tool/openapi_spec_parser/test_openapi_spec_parser.py | 74 | # Check if operationId is auto generated based on path and method. |
| LOW | …ntial_service/test_session_state_credential_service.py | 234 | # Set exchanged_auth_credential to None |
| LOW | …ntial_service/test_session_state_credential_service.py | 251 | # Set credential_key to empty string |
| LOW | tests/unittests/a2a/converters/test_event_converter.py | 165 | # Check if error_code is in the result - it should be there since we set it |
| LOW | tests/unittests/cli/utils/test_agent_loader.py | 531 | # Check if it's an LlmAgent before accessing model and instruction |
| LOW | tests/unittests/cli/utils/test_agent_loader.py | 834 | # Check if it's an LlmAgent before accessing model and instruction |
| LOW | …ts/unittests/streaming/test_streaming_audio_storage.py | 90 | # # Check if artifacts were created |
| LOW | tests/unittests/workflow/test_function_node.py | 552 | # Check if received_input contains Section objects |
| LOW | tests/unittests/workflow/test_function_node.py | 591 | # Check if received_input contains Section objects |
| LOW | tests/unittests/evaluation/test_local_eval_service.py | 720 | # Check if this is the specific cancel scope error we're testing for |
| LOW | …ests/flows/llm_flows/test_progressive_sse_streaming.py | 773 | # Check if this is a follow-up call (after function response) |
| LOW | …sts/unittests/flows/llm_flows/test_functions_simple.py | 558 | # Check if the response has the expected structure |
| LOW | scripts/check_new_py_files.sh | 8 | # Check if file is not empty (happens if no new files) |
| LOW | scripts/db_migration.sh | 132 | # Check if the first line is already the import statement |
| LOW | .github/workflows/check-file-contents.yml | 64 | # Check if the list of non-compliant files is empty |
| LOW | src/google/adk/tools/function_tool.py | 171 | # Check if the target type is a Pydantic model |
| LOW | src/google/adk/tools/_google_credentials.py | 203 | # Check if we have valid credentials |
| LOW | src/google/adk/tools/_google_credentials.py | 259 | # Check if OAuth response is available |
| LOW | …/google/adk/tools/computer_use/computer_use_toolset.py | 137 | # Check if it's a method defined in BaseComputer class |
| LOW | …/google/adk/tools/computer_use/computer_use_toolset.py | 215 | # Check if it's a method defined in Computer class |
| LOW | …/google/adk/tools/computer_use/computer_use_toolset.py | 257 | # Check if computer use is already configured |
| LOW | src/google/adk/tools/mcp_tool/mcp_session_manager.py | 485 | # Check if we have an existing session |
| LOW | src/google/adk/tools/mcp_tool/mcp_session_manager.py | 489 | # Check if the existing session is still connected and bound to |
| LOW | src/google/adk/tools/mcp_tool/mcp_tool.py | 183 | # Set GOOGLE_API_PREVENT_AGENT_TOKEN_SHARING_FOR_GCP_SERVICES to false |
| LOW | src/google/adk/tools/mcp_tool/mcp_toolset.py | 165 | # Set GOOGLE_API_PREVENT_AGENT_TOKEN_SHARING_FOR_GCP_SERVICES to false |
| LOW | …penapi_tool/openapi_spec_parser/openapi_spec_parser.py | 311 | # Check if we have a cached resolved value |
| LOW | src/google/adk/auth/auth_handler.py | 97 | # Check if raw_auth_credential exists |
| LOW | src/google/adk/auth/auth_handler.py | 104 | # Check if oauth2 exists in raw_auth_credential |
| LOW | …/google/adk/plugins/bigquery_agent_analytics_plugin.py | 1046 | # Check if it's already a valid JSON object or array to avoid double-encoding |
| LOW | src/google/adk/a2a/executor/a2a_agent_executor_impl.py | 135 | # Check if the user input is responding to the agent's |
| LOW | src/google/adk/agents/run_config.py | 117 | # Check if it's text (not function call) |
| LOW | src/google/adk/agents/run_config.py | 151 | # Check if this is text (not a function call) |
| LOW | src/google/adk/utils/context_utils.py | 62 | # Check if it's exactly the Context type (or an alias like ToolContext) |
| LOW | src/google/adk/utils/streaming_utils.py | 206 | # Check if function call is complete |
| LOW | src/google/adk/utils/streaming_utils.py | 222 | # Check if this is a streaming FC (has partialArgs or will_continue=True) |
| LOW | src/google/adk/utils/streaming_utils.py | 285 | # Check if we need to flush the current buffer first |
| LOW | src/google/adk/utils/cache_performance_analyzer.py | 66 | # Check if event has cache metadata and optionally filter by agent |
| LOW | src/google/adk/utils/feature_decorator.py | 76 | # Check if usage should be bypassed via environment variable at call time |
| LOW | src/google/adk/utils/feature_decorator.py | 98 | # Check if usage should be bypassed via environment variable at call time |
| LOW | src/google/adk/models/lite_llm.py | 769 | # Check if thought signature is embedded in the tool call ID |
| LOW | src/google/adk/models/lite_llm.py | 2123 | # Check if warning should be suppressed via environment variable |
| LOW | src/google/adk/models/registry.py | 163 | # Check if it matches known patterns that require optional dependencies |
| LOW | src/google/adk/models/gemini_context_cache_manager.py | 75 | # Check if we have existing cache metadata and if it's valid |
| LOW | src/google/adk/models/gemini_context_cache_manager.py | 217 | # Check if cache has expired |
| LOW | src/google/adk/models/gemini_context_cache_manager.py | 222 | # Check if cache has been used for too many invocations |
| LOW | src/google/adk/models/gemini_context_cache_manager.py | 235 | # Check if fingerprint matches using cached contents count |
| LOW | src/google/adk/models/gemini_context_cache_manager.py | 304 | # Check if we have token count from previous response for cache size validation |
| LOW | src/google/adk/models/google_llm.py | 504 | # Check if computer use is configured |
| LOW | src/google/adk/models/apigee_llm.py | 219 | # Check if computer use is configured |
| LOW | src/google/adk/cli/cli_eval.py | 281 | # Check if all elements in the column are NOT None |
| LOW | src/google/adk/cli/cli_tools_click.py | 1015 | # Check if the first entry is a file that exists, if it does then we assume |
| 32 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | …on_integration_tool/clients/test_connections_client.py | 593 | google.oauth2.service_account.Credentials.from_service_account_info.assert_called_once_with( |
| CRITICAL | …/unittests/agents/test_gemini_context_cache_manager.py | 130 | self.manager.genai_client.aio.caches.create.assert_not_called() |
| CRITICAL | …/unittests/agents/test_gemini_context_cache_manager.py | 162 | self.manager.genai_client.aio.caches.create.assert_not_called() |
| CRITICAL | …/unittests/agents/test_gemini_context_cache_manager.py | 203 | self.manager.genai_client.aio.caches.create.assert_called_once() |
| CRITICAL | …/unittests/agents/test_gemini_context_cache_manager.py | 238 | self.manager.genai_client.aio.caches.create.assert_not_called() |
| CRITICAL | …/unittests/agents/test_gemini_context_cache_manager.py | 321 | self.manager.genai_client.aio.caches.delete.assert_called_once_with( |
| CRITICAL | …/unittests/agents/test_gemini_context_cache_manager.py | 588 | self.manager.genai_client.aio.caches.create.assert_not_called() |
| CRITICAL | …/unittests/agents/test_gemini_context_cache_manager.py | 612 | self.manager.genai_client.aio.caches.create.assert_not_called() |
| CRITICAL | …/unittests/agents/test_gemini_context_cache_manager.py | 628 | self.manager.genai_client.aio.caches.create.assert_not_called() |
| CRITICAL | …/unittests/agents/test_gemini_context_cache_manager.py | 953 | self.manager.genai_client.aio.caches.create.assert_called_once() |
| CRITICAL | src/google/adk/cli/browser/chunk-T2UY75BD.js | 10 | }`,c=Qe(h,{schema:Je})}r=c?.type??r,c?.alias&&(!a||a.text===t)&&(a={text:c.alias,wrap:a?.wrap,type:r});let l=this.state. |
| CRITICAL | src/google/adk/cli/browser/chunk-WXI2IBAH.js | 40 | `+t.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=i.text):r.push(t);continue}if(e){let i="Infinite loop on byt |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 301 | assert table.schema.equals( |
| HIGH | tests/unittests/utils/test_schema_utils.py | 123 | json_text = '{"name": "test", "optional_field": null}' |
| HIGH | tests/unittests/models/test_completions_http_client.py | 693 | ' "Hello"}, "finish_reason": null}]}\n' |
| HIGH | tests/unittests/models/test_completions_http_client.py | 702 | ' "Hello"}, "finish_reason": null}]}\n' |
| HIGH | tests/unittests/models/test_completions_http_client.py | 716 | ' "Hello"}, "finish_reason": null}]}\n' |
| HIGH | tests/unittests/models/test_completions_http_client.py | 730 | ' "Hello"}, "finish_reason": null}]}\n' |
| HIGH | tests/unittests/telemetry/test_spans.py | 1235 | ' tool.","parameters":null,"type":"function"},{"name":"mock_tool","description":"Description' |
| HIGH | tests/unittests/telemetry/test_spans.py | 1237 | ' tool.","parameters":null,"type":"function"},{"name":"google_maps","type":"google_maps"},{"name":"mcp_tool","desc |
| HIGH | tests/unittests/telemetry/test_spans.py | 1246 | ' tool.","parameters":null,"type":"function"},{"name":"mock_tool","description":"Description' |
| HIGH | tests/unittests/telemetry/test_spans.py | 1248 | ' tool.","parameters":null,"type":"function"},{"name":"google_maps","type":"google_maps"},{"name":"mcp_tool","desc |
| HIGH | tests/unittests/telemetry/test_spans.py | 1250 | ' session","parameters":null,"type":"function"},{"name":"mcp_tool","description":"A' |
| HIGH | tests/unittests/telemetry/test_spans.py | 1251 | ' standalone mcp tool","parameters":null,"type":"function"}]' |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tests/unittests/cli/test_fast_api.py | 1538 | |
| MEDIUM | tests/unittests/cli/test_fast_api.py | 2522 | |
| MEDIUM | tests/unittests/cli/test_trigger_routes.py | 101 | |
| MEDIUM | tests/unittests/cli/test_trigger_routes.py | 140 | |
| MEDIUM | tests/unittests/cli/test_trigger_routes.py | 915 | |
| MEDIUM | tests/unittests/streaming/test_multi_agent_streaming.py | 172 | |
| MEDIUM | tests/unittests/integrations/slack/test_slack_runner.py | 135 | |
| MEDIUM | tests/unittests/workflow/test_workflow_failures.py | 1043 | |
| MEDIUM | tests/unittests/workflow/test_node_runner_ctx.py | 119 | |
| MEDIUM | tests/unittests/workflow/test_node_runner_ctx.py | 412 | |
| MEDIUM | tests/unittests/workflow/test_node_runner_ctx.py | 432 | |
| MEDIUM | …sts/unittests/workflow/test_node_runner_integration.py | 55 | |
| MEDIUM | …sts/unittests/workflow/test_node_runner_integration.py | 114 | |
| MEDIUM | tests/unittests/workflow/test_workflow.py | 1402 | |
| MEDIUM | tests/unittests/workflow/test_dynamic_use_as_output.py | 155 | |
| MEDIUM | tests/unittests/evaluation/test_evaluation_generator.py | 710 | |
| MEDIUM | tests/unittests/evaluation/test_evaluation_generator.py | 800 | |
| MEDIUM | tests/unittests/runners/test_runner_node.py | 179 | |
| MEDIUM | src/google/adk/agents/remote_a2a_agent.py | 816 | |
| MEDIUM | src/google/adk/agents/base_agent.py | 376 | |
| MEDIUM | src/google/adk/agents/base_agent.py | 392 | |
| MEDIUM | src/google/adk/agents/parallel_agent.py | 229 | |
| MEDIUM | src/google/adk/agents/loop_agent.py | 167 | |
| MEDIUM | src/google/adk/models/base_llm.py | 150 | |
| MEDIUM | src/google/adk/workflow/_node.py | 199 | |
| MEDIUM | src/google/adk/workflow/_base_node.py | 246 | |
| MEDIUM | src/google/adk/workflow/_workflow.py | 305 | |
| MEDIUM | src/google/adk/flows/llm_flows/instructions.py | 133 | |
| MEDIUM | …google/adk/flows/llm_flows/_output_schema_processor.py | 68 | |
| MEDIUM | src/google/adk/flows/llm_flows/_base_llm_processor.py | 41 | |
| MEDIUM | src/google/adk/flows/llm_flows/_base_llm_processor.py | 53 | |
| MEDIUM | …c/google/adk/flows/llm_flows/interactions_processor.py | 73 | |
| MEDIUM | src/google/adk/flows/llm_flows/basic.py | 113 | |
| MEDIUM | src/google/adk/flows/llm_flows/compaction.py | 55 | |
| MEDIUM | …/google/adk/flows/llm_flows/context_cache_processor.py | 92 | |
| MEDIUM | src/google/adk/flows/llm_flows/agent_transfer.py | 69 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | contributing/samples/tools/pydantic_argument/README.md | 83 | export GOOGLE_GENAI_API_KEY="your-api-key" |
| HIGH | …ntributing/samples/core/runner_debug_example/README.md | 28 | export GOOGLE_API_KEY="your-api-key" |
| HIGH | …ntributing/samples/core/runner_debug_example/README.md | 212 | export GOOGLE_API_KEY="your-api-key" |
| HIGH | contributing/samples/models/interactions_api/README.md | 46 | export GOOGLE_API_KEY=your-api-key |
| HIGH | …tributing/samples/models/hello_world_apigeellm/main.py | 106 | # GOOGLE_API_KEY="your-api-key" |
| HIGH | …g/samples/integrations/files_retrieval_agent/README.md | 34 | export GOOGLE_API_KEY="your-api-key" |
| HIGH | …ting/samples/integrations/crewai_tool_kwargs/README.md | 43 | export GOOGLE_API_KEY="your-api-key-here" |
| HIGH | …ting/samples/integrations/crewai_tool_kwargs/README.md | 45 | export GOOGLE_GENAI_API_KEY="your-api-key-here" |
| HIGH | tests/integration/fixture/bigquery_agent/README.md | 9 | export GOOGLE_API_KEY=<your_api_key> |
| HIGH | tests/integration/fixture/bigquery_agent/README.md | 38 | export GOOGLE_API_KEY=<your_api_key> |
| HIGH | …skills/adk-agent-builder/references/getting-started.md | 48 | GOOGLE_API_KEY=YOUR_API_KEY |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …ributing/samples/tools/long_running_functions/agent.py | 29 | # Here we just return a status. |
| MEDIUM | …ing/samples/context_management/cache_analysis/agent.py | 178 | """Generate comprehensive test scenarios for system validation. |
| MEDIUM | …ing/samples/context_management/cache_analysis/agent.py | 339 | # Simulate comprehensive performance optimization analysis |
| MEDIUM | …ing/samples/context_management/cache_analysis/agent.py | 372 | """Perform comprehensive security vulnerability analysis and risk assessment. |
| MEDIUM | …ing/samples/context_management/cache_analysis/agent.py | 461 | """Design comprehensive scalability architecture for anticipated growth. |
| MEDIUM | …ing/samples/context_management/cache_analysis/agent.py | 565 | """Perform comprehensive performance benchmarking and analysis. |
| LOW | tests/integration/test_tools.py | 169 | # For non relevant query, the agent should still be running fine, just return |
| MEDIUM | …gration/fixture/flow_complex_spark/sample.session.json | 124 | "text": "## Flooding in Florida: A Comprehensive Analysis of Causes, Impacts, and Mitigation Strategies\n\n* |
| MEDIUM | …gration/fixture/flow_complex_spark/sample.session.json | 124 | "text": "## Flooding in Florida: A Comprehensive Analysis of Causes, Impacts, and Mitigation Strategies\n\n* |
| MEDIUM | tests/unittests/tools/test_google_tool.py | 298 | # as the expected config. Comparing the __dict__ is a robust |
| LOW | tests/unittests/a2a/executor/test_a2a_agent_executor.py | 332 | # For testing, we'll just return the mock runner |
| MEDIUM | …sts/unittests/utils/test_cache_performance_analyzer.py | 191 | """Test comprehensive analysis with cache data and token metrics.""" |
| MEDIUM | .github/workflows/gemini-review.yml | 100 | prompt: 'Please use the pull_request_read tool to read pull request #${{ github.event.pull_request.number || g |
| MEDIUM | src/google/adk/utils/yaml_utils.py | 107 | width=1000000, # Essentially disable text wraps |
| MEDIUM | …le/adk/cli/built_in_agents/tools/write_config_files.py | 62 | """Write multiple YAML configurations with comprehensive validation-before-write. |
| MEDIUM | src/google/adk/cli/conformance/_replay_validators.py | 104 | # Compare events using model dumps with comprehensive exclude dict |
| MEDIUM | src/google/adk/cli/conformance/_replay_validators.py | 146 | """Compare actual session with recorded session using comprehensive exclude list. |
| MEDIUM | src/google/adk/cli/conformance/_replay_validators.py | 165 | # Compare sessions using model dumps with comprehensive exclude dict |
| MEDIUM | src/google/adk/workflow/_function_node.py | 98 | """Cached version of typing.get_type_hints with robust unwrapping.""" |
| LOW | src/google/adk/evaluation/final_response_match_v2.py | 220 | # If no results were successfully evaluated, just return the first sample. |
| LOW | src/google/adk/evaluation/response_evaluator.py | 83 | # If the metric is response_match_score, just use the RougeEvaluator. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | …ls/hello_world_litellm_add_function_to_prompt/agent.py | 61 | # enable function calling, you can add functions to the models, and the |
| MEDIUM | …g/samples/integrations/authn-adk-all-in-one/idp/app.py | 66 | # A simple user registry for demonstration purposes |
| LOW | …buting/samples/integrations/spanner_rag_agent/agent.py | 46 | # If this flow is enabled, make sure to replace the file path with your own |
| LOW | …buting/samples/integrations/spanner_rag_agent/agent.py | 46 | # If this flow is enabled, make sure to replace the file path with your own |
| LOW | contributing/samples/integrations/bigtable/agent.py | 48 | # If this flow is enabled, make sure to replace the file path with your own |
| LOW | contributing/samples/integrations/bigtable/agent.py | 48 | # If this flow is enabled, make sure to replace the file path with your own |
| LOW | contributing/samples/integrations/data_agent/agent.py | 48 | # If this flow is enabled, make sure to replace the file path with your own |
| LOW | contributing/samples/integrations/data_agent/agent.py | 48 | # If this flow is enabled, make sure to replace the file path with your own |
| LOW | contributing/samples/integrations/bigquery/agent.py | 57 | # If this flow is enabled, make sure to replace the file path with your own |
| LOW | contributing/samples/integrations/bigquery/agent.py | 57 | # If this flow is enabled, make sure to replace the file path with your own |
| LOW | contributing/samples/integrations/pubsub/agent.py | 49 | # If this flow is enabled, make sure to replace the file path with your own |
| LOW | contributing/samples/integrations/pubsub/agent.py | 49 | # If this flow is enabled, make sure to replace the file path with your own |
| LOW | contributing/samples/integrations/spanner/agent.py | 57 | # If this flow is enabled, make sure to replace the file path with your own |
| LOW | contributing/samples/integrations/spanner/agent.py | 57 | # If this flow is enabled, make sure to replace the file path with your own |
| LOW | …ntributing/samples/integrations/spanner_admin/agent.py | 42 | # If this flow is enabled, make sure to replace the file path with your own |
| LOW | …ntributing/samples/integrations/spanner_admin/agent.py | 42 | # If this flow is enabled, make sure to replace the file path with your own |
| MEDIUM | …ing/samples/integrations/oauth_calendar_agent/agent.py | 45 | # you can also replace below customized `list_calendar_events` with build-in |
| LOW | src/google/adk/tools/__init__.py | 47 | # If you are adding a new tool to this file, please make sure you add it to the |
| LOW | src/google/adk/cli/api_server.py | 540 | # Currently the instrumentation lib is in extras dependencies, make sure to |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …sts/unittests/tools/test_function_tool_declarations.py | 317 | def process_data(data: dict[str, Any]) -> str: |
| LOW | …sts/unittests/tools/test_from_function_with_options.py | 29 | def test_function(param: str): |
| LOW | …sts/unittests/tools/test_from_function_with_options.py | 47 | def test_function(param: str): |
| LOW | …sts/unittests/tools/test_from_function_with_options.py | 67 | def test_function(param: str) -> None: |
| LOW | …sts/unittests/tools/test_from_function_with_options.py | 86 | def test_function(param: str) -> None: |
| LOW | …sts/unittests/tools/test_from_function_with_options.py | 104 | def test_function(param: str) -> str: |
| LOW | …sts/unittests/tools/test_from_function_with_options.py | 123 | def test_function(param: str) -> Dict[str, str]: |
| LOW | …sts/unittests/tools/test_from_function_with_options.py | 142 | def test_function(param: str) -> int: |
| LOW | …sts/unittests/tools/test_from_function_with_options.py | 161 | def test_function(param: Any) -> Any: |
| LOW | …sts/unittests/tools/test_from_function_with_options.py | 181 | def test_function() -> None: |
| LOW | …sts/unittests/tools/test_from_function_with_options.py | 203 | def test_function( |
| LOW | …sts/unittests/tools/test_from_function_with_options.py | 234 | def test_function( |
| LOW | …sts/unittests/tools/test_from_function_with_options.py | 252 | async def test_function(param: str) -> AsyncGenerator[str, None]: |
| LOW | …sts/unittests/tools/test_from_function_with_options.py | 271 | async def test_function(param: str) -> AsyncGenerator[str, None]: |
| LOW | …sts/unittests/tools/test_from_function_with_options.py | 289 | def test_function(param: str) -> Generator[int, None, None]: |
| LOW | …sts/unittests/tools/test_from_function_with_options.py | 308 | async def test_function(param: str) -> AsyncGenerator[Dict[str, str], None]: |
| LOW | tests/unittests/tools/test_base_toolset.py | 264 | def test_function(param1: str, param2: int) -> str: |
| LOW | tests/unittests/tools/test_base_toolset.py | 293 | def test_function(param: str) -> str: |
| LOW | …ts/tools/test_function_tool_with_import_annotations.py | 30 | def test_function(_param: str) -> None: |
| LOW | …ts/tools/test_function_tool_with_import_annotations.py | 49 | def test_function(_param: str) -> None: |
| LOW | …ts/tools/test_function_tool_with_import_annotations.py | 67 | def test_function(_param: str) -> str: |
| LOW | …ts/tools/test_function_tool_with_import_annotations.py | 86 | def test_function(_param: str) -> int: |
| LOW | …ts/tools/test_function_tool_with_import_annotations.py | 105 | def test_function(_param: str) -> Dict[str, str]: |
| LOW | …ts/tools/test_function_tool_with_import_annotations.py | 124 | def test_function(_param: Any) -> Any: |
| LOW | …ts/tools/test_function_tool_with_import_annotations.py | 144 | def test_function(str_param: str, int_param: int, any_param: Any) -> str: |
| LOW | …ts/tools/test_function_tool_with_import_annotations.py | 165 | def test_function() -> str: |
| LOW | …sts/unittests/tools/test_build_function_declaration.py | 563 | def process_data(data: dict[str, str]) -> str: |
| LOW | tests/unittests/tools/test_long_running_tool.py | 148 | def test_function(): |
| LOW | …ests/code_executors/test_unsafe_local_code_executor.py | 111 | def helper(name): |
| LOW | src/google/adk/tools/tool_configs.py | 100 | def my_function(args: ToolArgsConfig) -> BaseTool: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …tools/pydantic_argument/tests/test_create_company.json | 27 | "company_name": "Acme Corp", |
| LOW | …tools/pydantic_argument/tests/test_create_company.json | 59 | "company_name": "Acme Corp", |
| LOW | …ons/authn-adk-all-in-one/hotel_booker_app/openapi.yaml | 131 | example: "John Doe" |
| LOW | …ons/authn-adk-all-in-one/hotel_booker_app/openapi.yaml | 212 | example: "John Doe" |
| LOW | …all-in-one/adk_agents/agent_openapi_tools/openapi.yaml | 131 | example: "John Doe" |
| LOW | …all-in-one/adk_agents/agent_openapi_tools/openapi.yaml | 212 | example: "John Doe" |
| LOW | tests/integration/test_system_instruction.py | 93 | "customerJson": {"name": "John Doe", "age": 30, "count": 11.1}, |
| LOW | tests/unittests/tools/test_function_tool_pydantic.py | 408 | "company_name": "Acme Corp", |
| LOW | tests/unittests/tools/test_function_tool_pydantic.py | 415 | assert processed_args["entity"].company_name == "Acme Corp" |
| LOW | tests/unittests/tools/test_function_tool_pydantic.py | 516 | "company_name": "Acme Corp", |
| LOW | tests/unittests/tools/test_function_tool_pydantic.py | 523 | assert company_result == {"entity_type": "company", "name": "Acme Corp"} |
| LOW | …valuation/simulation/test_llm_backed_user_simulator.py | 50 | response={"name": "John Doe"}, |
| LOW | …valuation/simulation/test_llm_backed_user_simulator.py | 130 | "Tool 'get_user_name' returned: {'name': 'John Doe'}\n\n" |
| LOW | …ttests/flows/llm_flows/test_output_schema_processor.py | 213 | args={'name': 'John Doe', 'age': 30, 'city': 'New York'}, |
| LOW | …ttests/flows/llm_flows/test_output_schema_processor.py | 219 | assert result['name'] == 'John Doe' |
| LOW | …google/adk/integrations/bigquery/data_insights_tool.py | 108 | "rows": [["Jane Doe", 1234.56]], |
| LOW | …k/evaluation/rubric_based_final_response_quality_v1.py | 180 | Rationale: The final answer's claim ("John Doe") is inconsistent with the trusted evidence ("John Smith"). |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | scripts/db_migration.sh | 21 | # Usage: |