Open-source framework for building AI-powered apps in JavaScript, Go, and Python, built and used in production by Google
This report presents the forensic synthetic code analysis of genkit-ai/genkit, a TypeScript project with 6,240 GitHub stars. SynthScan v2.0 examined 552,242 lines of code across 2040 source files, recording 2910 pattern matches distributed across 21 syntactic categories. The overall adjusted score of 7.0 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 2910 distinct pattern matches across 21 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | py/tests/tombstone_test.py | 42 | def test_shim_survives_module_without_public_names(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> None: | CODE |
| LOW | py/tests/tombstone_test.py | 69 | def test_old_import_path_resolves_next_to_core(tmp_path: Path) -> None: | CODE |
| LOW | py/samples/basic-flows/src/main.py | 211 | async def flow_multi_step_caught_error(input: str) -> str: | CODE |
| LOW | py/samples/context/src/main.py | 92 | async def context_propagation_chain(input: ContextInput) -> str: | CODE |
| LOW | py/samples/tool-interrupts/src/approval_example.py | 65 | def _print_scripted_user_turn() -> None: | CODE |
| LOW | py/samples/tool-interrupts/src/approval_example.py | 81 | def _print_transfer_approval_prompt(summary: str) -> None: | CODE |
| LOW | py/samples/output-formats/src/main.py | 136 | async def create_story_characters_jsonl(input: ThemeInput): | CODE |
| LOW | py/packages/genkit-django/tests/django_exports_test.py | 25 | def test_handler_module_importable(self) -> None: | CODE |
| LOW | py/packages/genkit-django/tests/django_exports_test.py | 31 | def test_genkit_django_handler_signature(self) -> None: | CODE |
| LOW⚡ | py/packages/genkit-django/tests/django_exports_test.py | 52 | def test_request_data_is_importable(self) -> None: | CODE |
| LOW⚡ | py/packages/genkit-django/tests/django_exports_test.py | 56 | def test_request_data_is_a_class(self) -> None: | CODE |
| LOW⚡ | py/packages/genkit-django/tests/django_exports_test.py | 60 | def test_request_data_has_init(self) -> None: | CODE |
| LOW | py/packages/genkit-django/tests/django_test.py | 37 | def _assert_is_error_response(parsed: dict) -> None: | CODE |
| LOW | py/packages/genkit-django/tests/django_handler_test.py | 28 | def test_rejects_plain_function(self) -> None: | CODE |
| LOW | py/packages/genkit-django/tests/django_handler_test.py | 62 | def test_genkit_django_handler_is_callable(self) -> None: | CODE |
| LOW | py/packages/genkit-django/tests/django_handler_test.py | 66 | def test_handler_accepts_context_provider(self) -> None: | CODE |
| LOW | py/packages/genkit-google-cloud/tests/tracing_test.py | 41 | def test_enable_google_cloud_telemetry_wraps_with_gcp_adjusting_exporter() -> None: | CODE |
| LOW | py/packages/genkit-google-cloud/tests/tracing_test.py | 85 | def test_enable_google_cloud_telemetry_with_log_input_and_output_enabled() -> None: | CODE |
| LOW | py/packages/genkit-google-cloud/tests/tracing_test.py | 108 | def test_enable_google_cloud_telemetry_with_project_id() -> None: | CODE |
| LOW | py/packages/genkit-google-cloud/tests/tracing_test.py | 131 | def test_enable_google_cloud_telemetry_skips_in_dev_without_force() -> None: | CODE |
| LOW | py/packages/genkit-google-cloud/tests/tracing_test.py | 148 | def test_enable_google_cloud_telemetry_exports_in_dev_with_force() -> None: | CODE |
| LOW | py/packages/genkit-google-cloud/tests/tracing_test.py | 171 | def test_enable_google_cloud_telemetry_disable_traces() -> None: | CODE |
| LOW | py/packages/genkit-google-cloud/tests/tracing_test.py | 193 | def test_enable_google_cloud_telemetry_disable_metrics() -> None: | CODE |
| LOW | py/packages/genkit-google-cloud/tests/tracing_test.py | 218 | def test_enable_google_cloud_telemetry_custom_metric_interval() -> None: | CODE |
| LOW | py/packages/genkit-google-cloud/tests/tracing_test.py | 243 | def test_enable_google_cloud_telemetry_enforces_minimum_interval() -> None: | CODE |
| LOW | py/packages/genkit-google-cloud/tests/tracing_test.py | 267 | def test_resolve_project_id_from_env_vars() -> None: | CODE |
| LOW | py/packages/genkit-google-cloud/tests/tracing_test.py | 298 | def test_resolve_project_id_explicit_takes_precedence() -> None: | CODE |
| LOW | py/packages/genkit-google-cloud/tests/tracing_test.py | 310 | def test_resolve_project_id_from_credentials() -> None: | CODE |
| LOW | py/packages/genkit-google-cloud/tests/tracing_test.py | 320 | def test_legacy_force_export_parameter() -> None: | CODE |
| LOW | py/packages/genkit-google-cloud/tests/tracing_test.py | 348 | def test_add_gcp_telemetry_deprecated_alias() -> None: | CODE |
| LOW | py/packages/genkit-google-cloud/tests/tracing_test.py | 372 | def test_enable_google_cloud_telemetry_is_fail_safe() -> None: | CODE |
| LOW⚡ | …/genkit-google-cloud/tests/gcp_telemetry_utils_test.py | 52 | def test_empty_string_returns_empty(self) -> None: | CODE |
| LOW⚡ | …/genkit-google-cloud/tests/gcp_telemetry_utils_test.py | 56 | def test_short_text_unchanged(self) -> None: | CODE |
| LOW⚡ | …/genkit-google-cloud/tests/gcp_telemetry_utils_test.py | 60 | def test_text_at_limit_unchanged(self) -> None: | CODE |
| LOW⚡ | …/genkit-google-cloud/tests/gcp_telemetry_utils_test.py | 65 | def test_text_exceeding_limit_truncated(self) -> None: | CODE |
| LOW⚡ | …/genkit-google-cloud/tests/gcp_telemetry_utils_test.py | 82 | def test_short_path_unchanged(self) -> None: | CODE |
| LOW⚡ | …/genkit-google-cloud/tests/gcp_telemetry_utils_test.py | 109 | def test_empty_string_returns_unknown(self) -> None: | CODE |
| LOW⚡ | …/genkit-google-cloud/tests/gcp_telemetry_utils_test.py | 113 | def test_unknown_string_returns_unknown(self) -> None: | CODE |
| LOW⚡ | …/genkit-google-cloud/tests/gcp_telemetry_utils_test.py | 117 | def test_no_flow_type_returns_unknown(self) -> None: | CODE |
| LOW⚡ | …/genkit-google-cloud/tests/gcp_telemetry_utils_test.py | 154 | def test_empty_string_returns_unknown(self) -> None: | CODE |
| LOW⚡ | …/genkit-google-cloud/tests/gcp_telemetry_utils_test.py | 158 | def test_unknown_string_returns_unknown(self) -> None: | CODE |
| LOW⚡ | …/genkit-google-cloud/tests/gcp_telemetry_utils_test.py | 162 | def test_single_segment_returns_unknown(self) -> None: | CODE |
| LOW⚡ | …/genkit-google-cloud/tests/gcp_telemetry_utils_test.py | 166 | def test_unrecognized_type_returns_unknown(self) -> None: | CODE |
| LOW⚡ | …/genkit-google-cloud/tests/gcp_telemetry_utils_test.py | 195 | def test_no_exception_returns_none(self) -> None: | CODE |
| LOW⚡ | …/genkit-google-cloud/tests/gcp_telemetry_utils_test.py | 200 | def test_empty_events_returns_none(self) -> None: | CODE |
| LOW⚡ | …/genkit-google-cloud/tests/gcp_telemetry_utils_test.py | 204 | def test_truncates_long_error_type(self) -> None: | CODE |
| LOW⚡ | …/genkit-google-cloud/tests/gcp_telemetry_utils_test.py | 212 | def test_missing_type_attribute_returns_none(self) -> None: | CODE |
| LOW⚡ | …/genkit-google-cloud/tests/gcp_telemetry_utils_test.py | 247 | def test_no_exception_returns_none(self) -> None: | CODE |
| LOW⚡ | …/genkit-google-cloud/tests/gcp_telemetry_utils_test.py | 251 | def test_truncates_long_stack(self) -> None: | CODE |
| LOW⚡ | …/genkit-google-cloud/tests/gcp_telemetry_utils_test.py | 266 | def test_creates_attributes_with_project(self) -> None: | CODE |
| LOW⚡ | …/genkit-google-cloud/tests/gcp_telemetry_utils_test.py | 289 | def test_none_context_returns_empty(self) -> None: | CODE |
| LOW | …/genkit-google-cloud/tests/gcp_telemetry_utils_test.py | 226 | def test_no_exception_returns_none(self) -> None: | CODE |
| LOW | …/genkit-google-cloud/tests/gcp_telemetry_utils_test.py | 230 | def test_truncates_long_message(self) -> None: | CODE |
| LOW | …/genkit-google-cloud/tests/gcp_telemetry_utils_test.py | 316 | def test_empty_string_returns_empty(self) -> None: | CODE |
| LOW | …/genkit-google-cloud/tests/gcp_telemetry_utils_test.py | 320 | def test_plain_segments_not_matched(self) -> None: | CODE |
| LOW | …enkit-google-cloud/tests/gcp_telemetry_metrics_test.py | 59 | def test_nested_path_extracts_outer(self) -> None: | CODE |
| LOW | …enkit-google-cloud/tests/gcp_telemetry_metrics_test.py | 89 | def test_path_with_special_chars(self) -> None: | CODE |
| LOW | …gle-cloud/src/genkit_google_cloud/telemetry/tracing.py | 222 | def enable_google_cloud_telemetry( | CODE |
| LOW | …ogle-cloud/src/genkit_google_cloud/telemetry/config.py | 218 | def _genkit_inject_trace_context( | CODE |
| LOW | …le-cloud/src/genkit_google_cloud/telemetry/generate.py | 336 | def _record_generate_action_metrics( | CODE |
| 1018 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | taplo.toml | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | .prettierrc.yaml | 1 | # Copyright 2024 Google LLC | COMMENT |
| LOW | py/typos.toml | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | py/pyproject.toml | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | py/.pysentry.toml | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | py/noxfile.py | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | py/bin/_common.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | py/tests/tombstone_test.py | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | py/tests/smoke/pyproject.toml | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | py/tests/smoke/package_test.py | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | py/samples/middleware/src/main.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | py/samples/basic-flows/src/main.py | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | py/samples/context/src/main.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | py/samples/gemini-context-caching/src/main.py | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | py/samples/tool-interrupts/src/respond_example.py | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | py/samples/tool-interrupts/src/approval_example.py | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | py/samples/gemini-code-execution/src/main.py | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | py/samples/django-hello/manage.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | py/samples/django-hello/myproject/asgi.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | py/samples/django-hello/myproject/__init__.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | py/samples/django-hello/myproject/settings.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | py/samples/django-hello/myproject/urls.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | py/samples/django-hello/recipes/__init__.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | py/samples/django-hello/recipes/apps.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | py/samples/django-hello/recipes/views.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | py/samples/evaluators/src/main.py | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | py/samples/anthropic-sample/src/main.py | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | py/samples/flask-hello/src/main.py | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | py/samples/middleware-coding-agent/src/main.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | py/samples/ollama-sample/src/main.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | py/samples/google-genai-media/src/main.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | py/samples/prompts/src/main.py | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | py/samples/vertexai-imagen/src/main.py | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | py/samples/output-formats/src/main.py | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | py/scripts/schema_to_typing.py | 61 | COMMENT | |
| LOW | py/scripts/check_consistency.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | py/packages/genkit-django/pyproject.toml | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | py/packages/genkit-django/tests/conftest.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | py/packages/genkit-django/tests/django_exports_test.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | py/packages/genkit-django/tests/__init__.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | py/packages/genkit-django/tests/django_test.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | py/packages/genkit-django/tests/django_handler_test.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | py/packages/genkit-django/src/genkit_django/handler.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | py/packages/genkit-django/src/genkit_django/__init__.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | py/packages/genkit-google-cloud/pyproject.toml | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | py/packages/genkit-google-cloud/tests/tracing_test.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | …/genkit-google-cloud/tests/gcp_telemetry_utils_test.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | …enkit-google-cloud/tests/gcp_telemetry_metrics_test.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | …enkit-google-cloud/src/genkit_google_cloud/__init__.py | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | …gle-cloud/src/genkit_google_cloud/telemetry/metrics.py | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | …gle-cloud/src/genkit_google_cloud/telemetry/tracing.py | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | …ogle-cloud/src/genkit_google_cloud/telemetry/config.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | …le-cloud/src/genkit_google_cloud/telemetry/generate.py | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | …ud/src/genkit_google_cloud/telemetry/trace_exporter.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | …e-cloud/src/genkit_google_cloud/telemetry/constants.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | …le-cloud/src/genkit_google_cloud/telemetry/__init__.py | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | …gle-cloud/src/genkit_google_cloud/telemetry/feature.py | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | …ogle-cloud/src/genkit_google_cloud/telemetry/action.py | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | …/src/genkit_google_cloud/telemetry/metrics_exporter.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | …oogle-cloud/src/genkit_google_cloud/telemetry/utils.py | 1 | # Copyright 2025 Google LLC | COMMENT |
| 900 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | py/samples/basic-flows/src/main.py | 46 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | py/samples/basic-flows/src/main.py | 48 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | py/samples/basic-flows/src/main.py | 92 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | py/samples/basic-flows/src/main.py | 94 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | py/samples/basic-flows/src/main.py | 142 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | py/samples/basic-flows/src/main.py | 144 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | py/samples/basic-flows/src/main.py | 171 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | py/samples/basic-flows/src/main.py | 173 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | py/samples/basic-flows/src/main.py | 241 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | py/samples/basic-flows/src/main.py | 243 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | py/samples/basic-flows/src/main.py | 315 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | py/samples/basic-flows/src/main.py | 317 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | py/samples/basic-flows/src/main.py | 379 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | py/samples/basic-flows/src/main.py | 381 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …/genkit-google-cloud/tests/gcp_telemetry_utils_test.py | 42 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …/genkit-google-cloud/tests/gcp_telemetry_utils_test.py | 44 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …/genkit-google-cloud/tests/gcp_telemetry_utils_test.py | 76 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …/genkit-google-cloud/tests/gcp_telemetry_utils_test.py | 78 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …/genkit-google-cloud/tests/gcp_telemetry_utils_test.py | 123 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …/genkit-google-cloud/tests/gcp_telemetry_utils_test.py | 125 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …/genkit-google-cloud/tests/gcp_telemetry_utils_test.py | 260 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …/genkit-google-cloud/tests/gcp_telemetry_utils_test.py | 262 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …/genkit-google-cloud/tests/gcp_telemetry_utils_test.py | 296 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …/genkit-google-cloud/tests/gcp_telemetry_utils_test.py | 298 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …/genkit-google-cloud/tests/gcp_telemetry_utils_test.py | 93 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …/genkit-google-cloud/tests/gcp_telemetry_utils_test.py | 95 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …/genkit-google-cloud/tests/gcp_telemetry_utils_test.py | 177 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …/genkit-google-cloud/tests/gcp_telemetry_utils_test.py | 179 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | py/packages/genkit/tests/genkit/core/schema_test.py | 78 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | py/packages/genkit/tests/genkit/core/schema_test.py | 81 | # ============================================================================= | COMMENT |
| MEDIUM | py/packages/genkit/tests/genkit/core/registry_test.py | 194 | # ============================================================================= | COMMENT |
| MEDIUM | py/packages/genkit/tests/genkit/core/registry_test.py | 196 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | …enkit/tests/genkit/core/trace/default_exporter_test.py | 43 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | …enkit/tests/genkit/core/trace/default_exporter_test.py | 45 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | …enkit/tests/genkit/core/trace/default_exporter_test.py | 85 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | …enkit/tests/genkit/core/trace/default_exporter_test.py | 87 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | …enkit/tests/genkit/core/trace/default_exporter_test.py | 106 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | …enkit/tests/genkit/core/trace/default_exporter_test.py | 108 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | …enkit/tests/genkit/core/trace/default_exporter_test.py | 188 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | …enkit/tests/genkit/core/trace/default_exporter_test.py | 190 | # ============================================================================= | COMMENT |
| MEDIUM | …enkit/tests/genkit/core/trace/default_exporter_test.py | 346 | # ============================================================================= | COMMENT |
| MEDIUM | …enkit/tests/genkit/core/trace/default_exporter_test.py | 348 | # ============================================================================= | COMMENT |
| MEDIUM | …/genkit/tests/genkit/ai/dynamic_tools_generate_test.py | 37 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …/genkit/tests/genkit/ai/dynamic_tools_generate_test.py | 39 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …/genkit/tests/genkit/ai/dynamic_tools_generate_test.py | 59 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …/genkit/tests/genkit/ai/dynamic_tools_generate_test.py | 61 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …/genkit/tests/genkit/ai/dynamic_tools_generate_test.py | 121 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …/genkit/tests/genkit/ai/dynamic_tools_generate_test.py | 123 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | py/packages/genkit/src/genkit/_core/_error.py | 117 | # ============================================================================= | COMMENT |
| MEDIUM | py/packages/genkit/src/genkit/_core/_error.py | 119 | # ============================================================================= | COMMENT |
| MEDIUM | py/packages/genkit/src/genkit/_core/_registry.py | 175 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | py/packages/genkit/src/genkit/_core/_registry.py | 177 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | py/packages/genkit/src/genkit/_core/_action.py | 40 | # ============================================================================= | COMMENT |
| MEDIUM | py/packages/genkit/src/genkit/_core/_action.py | 42 | # ============================================================================= | COMMENT |
| MEDIUM | py/packages/genkit/src/genkit/_core/_action.py | 102 | # ============================================================================= | COMMENT |
| MEDIUM | py/packages/genkit/src/genkit/_core/_action.py | 104 | # ============================================================================= | COMMENT |
| MEDIUM | py/packages/genkit/src/genkit/_core/_action.py | 179 | # ============================================================================= | COMMENT |
| MEDIUM | py/packages/genkit/src/genkit/_core/_action.py | 181 | # ============================================================================= | COMMENT |
| MEDIUM | py/packages/genkit/src/genkit/_core/_action.py | 240 | # ============================================================================= | COMMENT |
| MEDIUM | py/packages/genkit/src/genkit/_core/_action.py | 242 | # ============================================================================= | COMMENT |
| 200 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | py/samples/basic-flows/src/main.py | 32 | CODE | |
| LOW | py/samples/ollama-sample/src/main.py | 28 | CODE | |
| LOW | py/scripts/schema_to_typing.py | 7 | CODE | |
| LOW | …enkit-google-cloud/src/genkit_google_cloud/__init__.py | 143 | CODE | |
| LOW | …enkit-google-cloud/src/genkit_google_cloud/__init__.py | 143 | CODE | |
| LOW | …le-cloud/src/genkit_google_cloud/telemetry/generate.py | 85 | CODE | |
| LOW | …le-cloud/src/genkit_google_cloud/telemetry/__init__.py | 72 | CODE | |
| LOW | …le-cloud/src/genkit_google_cloud/telemetry/__init__.py | 72 | CODE | |
| LOW | …gle-cloud/src/genkit_google_cloud/telemetry/feature.py | 34 | CODE | |
| LOW | …ogle-cloud/src/genkit_google_cloud/telemetry/action.py | 35 | CODE | |
| LOW | …oogle-cloud/src/genkit_google_cloud/telemetry/utils.py | 33 | CODE | |
| LOW | …google-cloud/src/genkit_google_cloud/telemetry/path.py | 34 | CODE | |
| LOW | …-cloud/src/genkit_google_cloud/telemetry/gcp_logger.py | 36 | CODE | |
| LOW | …-cloud/src/genkit_google_cloud/telemetry/engagement.py | 34 | CODE | |
| LOW | py/packages/genkit-openai/tests/image_model_test.py | 19 | CODE | |
| LOW | py/packages/genkit-openai/tests/audio_model_test.py | 19 | CODE | |
| LOW | py/packages/genkit-openai/src/genkit_openai/__init__.py | 152 | CODE | |
| LOW | py/packages/genkit-openai/src/genkit_openai/__init__.py | 152 | CODE | |
| LOW | py/packages/genkit-openai/src/genkit_openai/__init__.py | 153 | CODE | |
| LOW | …ges/genkit-openai/src/genkit_openai/models/__init__.py | 20 | CODE | |
| LOW | …ges/genkit-openai/src/genkit_openai/models/__init__.py | 20 | CODE | |
| LOW | …ges/genkit-openai/src/genkit_openai/models/__init__.py | 20 | CODE | |
| LOW | …ges/genkit-openai/src/genkit_openai/models/__init__.py | 20 | CODE | |
| LOW | …ges/genkit-openai/src/genkit_openai/models/__init__.py | 26 | CODE | |
| LOW | …ges/genkit-openai/src/genkit_openai/models/__init__.py | 27 | CODE | |
| LOW | …ges/genkit-openai/src/genkit_openai/models/__init__.py | 27 | CODE | |
| LOW | …ges/genkit-openai/src/genkit_openai/models/__init__.py | 31 | CODE | |
| LOW | …ges/genkit-openai/src/genkit_openai/models/__init__.py | 32 | CODE | |
| LOW | …ges/genkit-openai/src/genkit_openai/models/__init__.py | 32 | CODE | |
| LOW | …ges/genkit-openai/src/genkit_openai/models/__init__.py | 32 | CODE | |
| LOW | …ges/genkit-openai/src/genkit_openai/models/__init__.py | 32 | CODE | |
| LOW | …ges/genkit-openai/src/genkit_openai/models/__init__.py | 32 | CODE | |
| LOW | …ckages/genkit-openai/src/genkit_openai/models/audio.py | 56 | CODE | |
| LOW | …ckages/genkit-openai/src/genkit_openai/models/image.py | 38 | CODE | |
| LOW | py/packages/genkit-ollama/src/genkit_ollama/_errors.py | 19 | CODE | |
| LOW | py/packages/genkit-ollama/src/genkit_ollama/__init__.py | 158 | CODE | |
| LOW | py/packages/genkit-ollama/src/genkit_ollama/__init__.py | 159 | CODE | |
| LOW | py/packages/genkit-ollama/src/genkit_ollama/__init__.py | 160 | CODE | |
| LOW | py/packages/genkit-ollama/src/genkit_ollama/__init__.py | 160 | CODE | |
| LOW | py/packages/genkit-ollama/src/genkit_ollama/__init__.py | 160 | CODE | |
| LOW | py/packages/genkit-ollama/src/genkit_ollama/__init__.py | 161 | CODE | |
| LOW | py/packages/genkit-ollama/src/genkit_ollama/__init__.py | 161 | CODE | |
| LOW | py/packages/genkit-ollama/src/genkit_ollama/__init__.py | 161 | CODE | |
| LOW | py/packages/genkit-ollama/src/genkit_ollama/__init__.py | 161 | CODE | |
| LOW | py/packages/genkit-ollama/src/genkit_ollama/__init__.py | 161 | CODE | |
| LOW | py/packages/genkit/tests/genkit/core/channel_test.py | 19 | CODE | |
| LOW | …ackages/genkit/tests/genkit/core/reflection_v2_test.py | 36 | CODE | |
| LOW | …/genkit/tests/genkit/core/endpoints/reflection_test.py | 37 | CODE | |
| LOW | …nkit/tests/genkit/ai/generate_interrupt_resume_test.py | 6 | CODE | |
| LOW | py/packages/genkit/src/genkit/__init__.py | 19 | CODE | |
| LOW | py/packages/genkit/src/genkit/__init__.py | 19 | CODE | |
| LOW | py/packages/genkit/src/genkit/__init__.py | 20 | CODE | |
| LOW | py/packages/genkit/src/genkit/__init__.py | 20 | CODE | |
| LOW | py/packages/genkit/src/genkit/__init__.py | 20 | CODE | |
| LOW | py/packages/genkit/src/genkit/__init__.py | 25 | CODE | |
| LOW | py/packages/genkit/src/genkit/__init__.py | 25 | CODE | |
| LOW | py/packages/genkit/src/genkit/__init__.py | 25 | CODE | |
| LOW | py/packages/genkit/src/genkit/__init__.py | 25 | CODE | |
| LOW | py/packages/genkit/src/genkit/__init__.py | 25 | CODE | |
| LOW | py/packages/genkit/src/genkit/__init__.py | 25 | CODE | |
| 188 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | CONTRIBUTING.md | 65 | export GOOGLE_GENAI_API_KEY=<your-api-key> | CODE |
| HIGH | py/samples/middleware/README.md | 6 | export GEMINI_API_KEY=your-api-key | CODE |
| HIGH | py/samples/tracing/README.md | 6 | export GEMINI_API_KEY=your-api-key | CODE |
| HIGH | py/samples/context/README.md | 6 | export GEMINI_API_KEY=your-api-key | CODE |
| HIGH | py/samples/fastapi-bugbot/README.md | 6 | export GEMINI_API_KEY=your-api-key | CODE |
| HIGH | py/samples/gemini-context-caching/README.md | 6 | export GEMINI_API_KEY=your-api-key | CODE |
| HIGH | py/samples/tool-interrupts/README.md | 20 | export GEMINI_API_KEY=your-api-key | CODE |
| HIGH | py/samples/gemini-code-execution/README.md | 6 | export GEMINI_API_KEY=your-api-key | CODE |
| HIGH | py/samples/django-hello/README.md | 6 | export GEMINI_API_KEY=your-api-key | CODE |
| HIGH | py/samples/evaluators/README.md | 25 | export GEMINI_API_KEY=your-api-key # Only needed for byo/* LLM evaluators | CODE |
| HIGH | py/samples/flask-hello/README.md | 6 | export GEMINI_API_KEY=your-api-key | CODE |
| HIGH | py/samples/google-genai-media/README.md | 6 | export GEMINI_API_KEY=your-api-key | CODE |
| HIGH | py/samples/prompts/README.md | 6 | export GEMINI_API_KEY=your-api-key | CODE |
| HIGH | py/samples/output-formats/README.md | 6 | export GEMINI_API_KEY=your-api-key | CODE |
| HIGH | py/packages/genkit-google-genai/README.md | 20 | export GEMINI_API_KEY='<your-api-key>' | CODE |
| HIGH | …/genkit-google-genai/src/genkit_google_genai/google.py | 438 | ' export GEMINI_API_KEY="your-api-key"\n\n' | CODE |
| HIGH | go/README.md | 67 | export GEMINI_API_KEY="your-api-key" | CODE |
| HIGH | go/plugins/compat_oai/anthropic/README.md | 15 | export ANTHROPIC_API_KEY=<your-api-key> | CODE |
| HIGH | go/plugins/compat_oai/openai/README.md | 47 | export OPENAI_API_KEY=<your-api-key> | CODE |
| HIGH | go/plugins/googlegenai/README.md | 41 | APIKey: "your-api-key", // Optional: defaults to GEMINI_API_KEY or GOOGLE_API_KEY env var | CODE |
| HIGH | go/plugins/googlegenai/README.md | 454 | - **Google AI**: Typically returns a public URI for the video. To download it via HTTP, you must append your API key to | CODE |
| HIGH | go/samples/telemetry-test/README.md | 16 | export GEMINI_API_KEY="your-api-key" | CODE |
| HIGH | go/samples/text-to-speech/gemini/README.md | 20 | export GEMINI_API_KEY='<your-api-key>' | CODE |
| HIGH | js/index.typedoc.md | 17 | export GOOGLE_API_KEY=your-api-key | CODE |
| HIGH | js/testapps/next/README.md | 24 | export GEMINI_API_KEY='<your-api-key>' | CODE |
| HIGH | js/testapps/model-tester/README.md | 28 | export GEMINI_API_KEY='<your-api-key>' | CODE |
| HIGH | js/testapps/express/README.md | 27 | export GEMINI_API_KEY='<your-api-key>' | CODE |
| HIGH | js/testapps/format-tester/README.md | 35 | export GEMINI_API_KEY='<your-api-key>' | CODE |
| HIGH | js/testapps/flow-simple-ai/README.md | 35 | export GEMINI_API_KEY='<your-api-key>' | CODE |
| HIGH | js/testapps/rag/README.md | 29 | export GEMINI_API_KEY='<your-api-key>' | CODE |
| HIGH | js/testapps/multimodal/README.md | 30 | export GEMINI_API_KEY='<your-api-key>' | CODE |
| HIGH | js/testapps/dev-ui-gallery/README.md | 30 | export GEMINI_API_KEY='<your-api-key>' | CODE |
| HIGH | js/testapps/multiagents-demo/README.md | 52 | export GEMINI_API_KEY='<your-api-key>' | CODE |
| HIGH | js/testapps/multiagents-demo/README.md | 58 | GEMINI_API_KEY=<your-api-key> | CODE |
| HIGH | js/testapps/model-armor/README.md | 25 | export GEMINI_API_KEY='<your-api-key>' | CODE |
| HIGH | js/testapps/basic-gemini/README.md | 47 | export GEMINI_API_KEY='<your-api-key>' | CODE |
| HIGH | js/testapps/prompt-file/README.md | 37 | export GEMINI_API_KEY='<your-api-key>' | CODE |
| HIGH | js/genkit/README.md | 19 | export GOOGLE_API_KEY=your-api-key | CODE |
| HIGH | js/plugins/google-genai/README.md | 41 | // googleAI({ apiKey: 'your-api-key' }), | COMMENT |
| HIGH | js/plugins/anthropic/src/index.ts | 87 | * anthropic({ apiKey: 'your-api-key' }) | COMMENT |
| HIGH | js/doc-snippets/src/dotprompt/minimal.ts | 27 | apiKey: 'your-api-key', // Or (preferred): export GEMINI_API_KEY=... | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | py/packages/genkit-django/src/genkit_django/__init__.py | 0 | get the package name for the flask plugin. returns: the fully qualified package name as a string. | STRING |
| HIGH | py/packages/genkit-ollama/src/genkit_ollama/__init__.py | 0 | get the package name for the flask plugin. returns: the fully qualified package name as a string. | STRING |
| HIGH | py/packages/genkit-flask/src/genkit_flask/__init__.py | 0 | get the package name for the flask plugin. returns: the fully qualified package name as a string. | STRING |
| HIGH | …kages/genkit-openai/src/genkit_openai/openai_plugin.py | 0 | create an action object for an ollama embedder. args: name: the namespaced name of the embedder. returns: action object | STRING |
| HIGH | …packages/genkit-ollama/src/genkit_ollama/plugin_api.py | 0 | create an action object for an ollama embedder. args: name: the namespaced name of the embedder. returns: action object | STRING |
| HIGH | …ckages/genkit-anthropic/src/genkit_anthropic/plugin.py | 0 | create an action object for an ollama embedder. args: name: the namespaced name of the embedder. returns: action object | STRING |
| HIGH | …packages/genkit-ollama/src/genkit_ollama/plugin_api.py | 0 | resolve an action by creating and returning an action object. args: action_type: the kind of action to resolve. name: th | STRING |
| HIGH | …src/genkit_vertexai/model_garden/modelgarden_plugin.py | 0 | resolve an action by creating and returning an action object. args: action_type: the kind of action to resolve. name: th | STRING |
| HIGH | …/genkit-google-genai/src/genkit_google_genai/google.py | 0 | resolve an action by creating and returning an action object. args: action_type: the kind of action to resolve. name: th | STRING |
| HIGH | …ckages/genkit-anthropic/src/genkit_anthropic/plugin.py | 0 | resolve an action by creating and returning an action object. args: action_type: the kind of action to resolve. name: th | STRING |
| HIGH | …packages/genkit-ollama/src/genkit_ollama/plugin_api.py | 0 | generate a list of available actions or models. returns: list[actionmetadata]: a list of actionmetadata objects, each wi | STRING |
| HIGH | …src/genkit_vertexai/model_garden/modelgarden_plugin.py | 0 | generate a list of available actions or models. returns: list[actionmetadata]: a list of actionmetadata objects, each wi | STRING |
| HIGH | …/genkit-google-genai/src/genkit_google_genai/google.py | 0 | generate a list of available actions or models. returns: list[actionmetadata]: a list of actionmetadata objects, each wi | STRING |
| HIGH | …/packages/genkit/tests/genkit/ai/formats/jsonl_test.py | 0 | test that no instructions are generated without schema. | STRING |
| HIGH | py/packages/genkit/tests/genkit/ai/formats/enum_test.py | 0 | test that no instructions are generated without schema. | STRING |
| HIGH | py/packages/genkit/tests/genkit/ai/formats/json_test.py | 0 | test that no instructions are generated without schema. | STRING |
| HIGH | …/packages/genkit/tests/genkit/ai/formats/array_test.py | 0 | test that no instructions are generated without schema. | STRING |
| HIGH | …/packages/genkit-fastapi/src/genkit_fastapi/handler.py | 0 | convert object to dict if it's a pydantic model, otherwise return as-is. | STRING |
| HIGH | …-google-genai/src/genkit_google_genai/models/gemini.py | 0 | convert object to dict if it's a pydantic model, otherwise return as-is. | STRING |
| HIGH | …-google-genai/src/genkit_google_genai/models/imagen.py | 0 | convert object to dict if it's a pydantic model, otherwise return as-is. | STRING |
| HIGH | py/packages/genkit-flask/src/genkit_flask/handler.py | 0 | convert object to dict if it's a pydantic model, otherwise return as-is. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | py/samples/tracing/src/main.py | 48 | except Exception as error: | CODE |
| LOW | py/samples/context/src/main.py | 112 | except Exception as error: | CODE |
| LOW | py/samples/gemini-context-caching/src/main.py | 77 | except Exception as error: | CODE |
| LOW | py/samples/gemini-code-execution/src/main.py | 51 | except Exception as error: | CODE |
| LOW | py/samples/anthropic-sample/src/main.py | 105 | except Exception as error: | CODE |
| LOW | py/samples/middleware-coding-agent/src/main.py | 139 | except Exception as e: # noqa: BLE001 - top-level REPL: surface, don't crash | CODE |
| MEDIUM | py/samples/middleware-coding-agent/src/main.py | 140 | print(f'Error during generation: {e}') # noqa: T201 | CODE |
| LOW | py/samples/google-genai-media/src/main.py | 161 | except Exception as error: | CODE |
| LOW | py/samples/prompts/src/main.py | 114 | except Exception as error: | CODE |
| LOW | py/samples/vertexai-imagen/src/main.py | 62 | except Exception as error: | CODE |
| LOW | py/samples/output-formats/src/main.py | 155 | except Exception as error: | CODE |
| LOW | py/scripts/check_consistency.py | 51 | except Exception: | CODE |
| LOW | py/packages/genkit-django/src/genkit_django/handler.py | 170 | except Exception as e: | CODE |
| LOW | py/packages/genkit-django/src/genkit_django/handler.py | 186 | except Exception as e: | CODE |
| LOW | py/packages/genkit-django/src/genkit_django/handler.py | 198 | except Exception as e: | CODE |
| MEDIUM | py/packages/genkit-django/src/genkit_django/handler.py | 178 | def event_stream() -> AsyncIterator[str]: | CODE |
| LOW | py/packages/genkit-google-cloud/tests/tracing_test.py | 387 | except Exception as e: | CODE |
| LOW | …gle-cloud/src/genkit_google_cloud/telemetry/metrics.py | 225 | except Exception as e: | CODE |
| LOW | …ogle-cloud/src/genkit_google_cloud/telemetry/config.py | 230 | except Exception as e: | CODE |
| LOW | …ogle-cloud/src/genkit_google_cloud/telemetry/config.py | 249 | except Exception as e: | CODE |
| LOW | …ogle-cloud/src/genkit_google_cloud/telemetry/config.py | 270 | except Exception as e: | CODE |
| LOW | …ogle-cloud/src/genkit_google_cloud/telemetry/config.py | 293 | except Exception as e: | CODE |
| LOW | …ud/src/genkit_google_cloud/telemetry/trace_exporter.py | 92 | except Exception as ex: | CODE |
| LOW | …ud/src/genkit_google_cloud/telemetry/trace_exporter.py | 247 | except Exception as e: | CODE |
| LOW | …/src/genkit_google_cloud/telemetry/metrics_exporter.py | 109 | except Exception as e: | CODE |
| LOW | …-cloud/src/genkit_google_cloud/telemetry/gcp_logger.py | 141 | except Exception as e: | CODE |
| LOW | …-cloud/src/genkit_google_cloud/telemetry/gcp_logger.py | 190 | except Exception as e: | CODE |
| LOW | …s/genkit/tests/genkit/veneer/reflection_server_test.py | 96 | except Exception as e: | CODE |
| LOW | py/packages/genkit/src/genkit/_core/_tracing.py | 127 | except Exception: | CODE |
| LOW | py/packages/genkit/src/genkit/_core/_tracing.py | 185 | except Exception as e: | CODE |
| LOW | py/packages/genkit/src/genkit/_core/_base.py | 33 | except Exception: | CODE |
| LOW | py/packages/genkit/src/genkit/_core/_reflection.py | 114 | except Exception as e: | CODE |
| LOW | py/packages/genkit/src/genkit/_core/_reflection.py | 200 | except Exception: | CODE |
| MEDIUM | py/packages/genkit/src/genkit/_core/_reflection.py | 83 | def execute(self) -> None: | CODE |
| LOW | py/packages/genkit/src/genkit/_core/_http_client.py | 67 | except Exception as e: | CODE |
| LOW | py/packages/genkit/src/genkit/_core/_extract_json.py | 79 | except Exception as e: | CODE |
| LOW | py/packages/genkit/src/genkit/_core/_extract_json.py | 139 | except Exception: # noqa: S110 | CODE |
| LOW | py/packages/genkit/src/genkit/_core/_registry.py | 309 | except Exception: | CODE |
| LOW | py/packages/genkit/src/genkit/_core/_registry.py | 333 | except Exception: | CODE |
| LOW | py/packages/genkit/src/genkit/_core/_registry.py | 532 | except Exception as e: | CODE |
| LOW | py/packages/genkit/src/genkit/_core/_registry.py | 564 | except Exception as e: | CODE |
| LOW | py/packages/genkit/src/genkit/_core/_registry.py | 675 | except Exception as e: | CODE |
| LOW | py/packages/genkit/src/genkit/_core/_action.py | 601 | except Exception: | CODE |
| LOW | py/packages/genkit/src/genkit/_core/_action.py | 605 | except Exception: | CODE |
| LOW | py/packages/genkit/src/genkit/_core/_action.py | 632 | except Exception as e: | CODE |
| LOW | py/packages/genkit/src/genkit/_core/_middleware.py | 379 | except Exception as e: | CODE |
| LOW | py/packages/genkit/src/genkit/_core/_reflection_v2.py | 239 | except Exception as e: | CODE |
| LOW | py/packages/genkit/src/genkit/_core/_reflection_v2.py | 323 | except Exception: | CODE |
| LOW | py/packages/genkit/src/genkit/_core/_reflection_v2.py | 522 | except Exception as e: | CODE |
| LOW | py/packages/genkit/src/genkit/_core/_dap.py | 92 | except Exception: | CODE |
| LOW | …/genkit/src/genkit/_core/_trace/_realtime_processor.py | 45 | except Exception: # noqa: BLE001 — must never crash the caller | CODE |
| LOW | …/genkit/src/genkit/_core/_trace/_adjusting_exporter.py | 86 | except Exception as e: | CODE |
| LOW | py/packages/genkit/src/genkit/_ai/_generate.py | 1123 | except Exception as e: | CODE |
| LOW | py/packages/genkit/src/genkit/_ai/_generate.py | 1423 | except Exception as e: | CODE |
| LOW | py/packages/genkit/src/genkit/_ai/_tools.py | 138 | except Exception: | CODE |
| LOW | py/packages/genkit/src/genkit/_ai/_tools.py | 309 | except Exception: | CODE |
| LOW | py/packages/genkit/src/genkit/_ai/_prompt.py | 1379 | except Exception as e: | CODE |
| LOW | py/packages/genkit/src/genkit/_ai/_resource.py | 188 | except Exception: | CODE |
| LOW | py/packages/genkit/src/genkit/_ai/_aio.py | 790 | except Exception: | CODE |
| LOW | py/packages/genkit/src/genkit/_ai/_aio.py | 1204 | except Exception: | CODE |
| 26 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ages/genkit-openai/src/genkit_openai/models/handler.py | 70 | Factory method to initialize the model handler for the specified OpenAI model. OpenAI models in this context ar | STRING |
| HIGH | …ages/genkit-openai/src/genkit_openai/models/handler.py | 113 | Processes the request using OpenAI's chat completion API. Args: request: The request containing mes | STRING |
| HIGH | …ckages/genkit-openai/src/genkit_openai/models/model.py | 71 | Converts the request messages into the format required by OpenAI's API. Args: messages: A list of t | STRING |
| HIGH | …ckages/genkit-openai/src/genkit_openai/models/utils.py | 80 | Extract text content from the first message. Args: request: The generate request. Returns: The | STRING |
| HIGH | …ckages/genkit-openai/src/genkit_openai/models/utils.py | 101 | Extract the content type from a data URI. Parses the header part of a ``data:`` URI to extract the media type. | STRING |
| HIGH | …ckages/genkit-openai/src/genkit_openai/models/utils.py | 131 | Decode the payload of a data URI or raw base64 string to bytes. Supports three formats: - ``data:`` URIs — extr | STRING |
| HIGH | …ckages/genkit-openai/src/genkit_openai/models/utils.py | 184 | Extract media content from the first message. Finds the first part with a MediaPart root and returns its URL and | STRING |
| HIGH | …ckages/genkit-openai/src/genkit_openai/models/utils.py | 432 | Converts an OpenAI-style message into a Genkit `Message` object. Handles tool calls, reasoning content (from De | STRING |
| HIGH | py/packages/genkit-ollama/src/genkit_ollama/_errors.py | 37 | Translate transport failures into an actionable OllamaConnectionError. Catches two flavours of unreachable-server f | STRING |
| HIGH | …enkit/tests/genkit/core/trace/default_exporter_test.py | 360 | Create a mock ReadableSpan for testing. Args: trace_id: The trace ID. span_id: The span ID. | STRING |
| HIGH | py/packages/genkit/src/genkit/_core/_background.py | 384 | Check the status of a background operation. Matches JS checkOperation from js/ai/src/check-operation.ts. Args: | STRING |
| HIGH | py/packages/genkit/src/genkit/_core/_registry.py | 640 | Resolve an action using its combined key string. The key format is ``/<kind>/<name>``, where kind must be a val | STRING |
| HIGH | py/packages/genkit/src/genkit/_core/_action.py | 471 | Execute the action with optional input validation. Args: input: The input to the action. Will be va | STRING |
| HIGH | py/packages/genkit/src/genkit/_ai/_formats/_enum.py | 72 | Creates a Formatter for handling Enum values. Args: schema: The JSON schema. Must be type 'string' | STRING |
| HIGH | py/packages/genkit/src/genkit/_ai/_formats/_array.py | 78 | Creates a Formatter for handling JSON array data. Args: schema: The JSON schema for the array. Must | STRING |
| HIGH | py/packages/genkit/src/genkit/_ai/_formats/_jsonl.py | 75 | Creates a Formatter for handling JSONL data. Args: schema: The JSON schema. Must be type 'array' co | STRING |
| HIGH | …t-google-genai/src/genkit_google_genai/models/utils.py | 420 | Downloads media content from a URL and returns raw bytes with MIME type. Args: url: The URL to down | STRING |
| HIGH | …genai/src/genkit_google_genai/evaluators/evaluation.py | 166 | Call the Vertex AI evaluateInstances API. Args: request_body: The request body for the API. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …kages/genkit-openai/src/genkit_openai/openai_plugin.py | 316 | # Create the model handler | COMMENT |
| MEDIUM | py/packages/genkit-ollama/tests/conftest.py | 126 | # Create an AsyncMock instance with async methods | COMMENT |
| MEDIUM | …kages/genkit-ollama/tests/models/ollama_models_test.py | 407 | # Create a streaming context with a callback | COMMENT |
| MEDIUM | py/packages/genkit/tests/genkit/testing_test.py | 510 | # Define an echo model that will pass the basic hi test | COMMENT |
| MEDIUM⚡ | …enkit/tests/genkit/core/trace/default_exporter_test.py | 156 | # Create a mock span | COMMENT |
| MEDIUM | …kit/tests/genkit/core/trace/realtime_processor_test.py | 68 | # Create a mock span | COMMENT |
| MEDIUM | …kit/tests/genkit/core/trace/realtime_processor_test.py | 87 | # Create a mock ReadableSpan (completed span) | COMMENT |
| MEDIUM⚡ | …ages/genkit/tests/genkit/ai/generate_operation_test.py | 95 | # Define a standard model without long_running support | COMMENT |
| MEDIUM | …ages/genkit/tests/genkit/ai/generate_operation_test.py | 127 | # Define a model without any ModelInfo | COMMENT |
| MEDIUM | …ages/genkit/tests/genkit/ai/generate_operation_test.py | 151 | # Define a model that claims to support long_running but doesn't return an operation | COMMENT |
| MEDIUM | …ages/genkit/tests/genkit/ai/generate_operation_test.py | 186 | # Define a model that supports long_running and returns an operation | COMMENT |
| MEDIUM | …ages/genkit/tests/genkit/ai/generate_operation_test.py | 241 | # Create a new Genkit instance with the default model set | COMMENT |
| MEDIUM⚡ | py/packages/genkit/tests/genkit/ai/prompt_test.py | 386 | # Define a partial programmatically | COMMENT |
| MEDIUM⚡ | py/packages/genkit/tests/genkit/ai/prompt_test.py | 389 | # Create a prompt that uses the partial | COMMENT |
| MEDIUM | py/packages/genkit/tests/genkit/ai/prompt_test.py | 771 | # Create a prompt file | COMMENT |
| MEDIUM | …/genkit/tests/genkit/ai/dynamic_tools_generate_test.py | 187 | # Create an Action directly — NOT registered in root via register_action | COMMENT |
| MEDIUM | py/packages/genkit/src/genkit/_ai/_messages.py | 75 | # Create a copy of the content | COMMENT |
| MEDIUM | py/packages/genkit/src/genkit/_ai/_messages.py | 88 | out_messages = messages[:] # Create a copy of the messages list | CODE |
| MEDIUM | …kit-google-genai/src/genkit_google_genai/models/veo.py | 387 | # Create a GenerateVideosOperation object from the operation ID | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | py/scripts/publish_tombstones.py | 16 | CODE | |
| LOW | py/scripts/schema_to_typing.py | 164 | CODE | |
| LOW | py/scripts/schema_to_typing.py | 271 | CODE | |
| LOW | py/scripts/schema_to_typing.py | 338 | CODE | |
| LOW | py/scripts/schema_to_typing.py | 175 | CODE | |
| LOW | py/scripts/check_consistency.py | 36 | CODE | |
| LOW | …gle-cloud/src/genkit_google_cloud/telemetry/metrics.py | 163 | CODE | |
| LOW | …/src/genkit_google_cloud/telemetry/metrics_exporter.py | 114 | CODE | |
| LOW | …ckages/genkit-openai/src/genkit_openai/models/model.py | 303 | CODE | |
| LOW | …ckages/genkit-openai/src/genkit_openai/models/utils.py | 346 | CODE | |
| LOW | py/packages/genkit-ollama/src/genkit_ollama/models.py | 908 | CODE | |
| LOW | py/packages/genkit-ollama/src/genkit_ollama/models.py | 714 | CODE | |
| LOW | …ackages/genkit/tests/genkit/core/reflection_v2_test.py | 505 | CODE | |
| LOW | py/packages/genkit/tests/genkit/ai/generate_test.py | 1973 | CODE | |
| LOW | py/packages/genkit/src/genkit/_core/_tracing.py | 147 | CODE | |
| LOW | py/packages/genkit/src/genkit/_core/_extract_json.py | 33 | CODE | |
| LOW | py/packages/genkit/src/genkit/_core/_extract_json.py | 97 | CODE | |
| LOW | py/packages/genkit/src/genkit/_core/_registry.py | 581 | CODE | |
| LOW | py/packages/genkit/src/genkit/_core/_action.py | 61 | CODE | |
| LOW | py/packages/genkit/src/genkit/_core/_middleware.py | 210 | CODE | |
| LOW | py/packages/genkit/src/genkit/_core/_reflection_v2.py | 289 | CODE | |
| LOW | py/packages/genkit/src/genkit/_core/_model.py | 491 | CODE | |
| LOW | py/packages/genkit/src/genkit/_core/_model.py | 458 | CODE | |
| LOW | py/packages/genkit/src/genkit/_core/_model.py | 499 | CODE | |
| LOW | py/packages/genkit/src/genkit/_ai/_generate.py | 448 | CODE | |
| LOW | py/packages/genkit/src/genkit/_ai/_generate.py | 888 | CODE | |
| LOW | py/packages/genkit/src/genkit/_ai/_prompt.py | 1106 | CODE | |
| LOW | py/packages/genkit/src/genkit/_ai/_prompt.py | 1337 | CODE | |
| LOW | py/packages/genkit/src/genkit/_ai/_prompt.py | 1408 | CODE | |
| LOW | py/packages/genkit/src/genkit/_ai/_resource.py | 106 | CODE | |
| LOW | py/packages/genkit/src/genkit/_ai/_resource.py | 117 | CODE | |
| LOW | py/packages/genkit/src/genkit/_ai/_evaluator.py | 96 | CODE | |
| LOW | py/packages/genkit/src/genkit/_ai/_evaluator.py | 127 | CODE | |
| LOW | py/packages/genkit/src/genkit/_ai/_testing.py | 240 | CODE | |
| LOW | py/packages/genkit/src/genkit/_ai/_model.py | 82 | CODE | |
| LOW | py/packages/genkit/src/genkit/_ai/_formats/_schema.py | 29 | CODE | |
| LOW | py/packages/genkit/src/genkit/_ai/_formats/_jsonl.py | 74 | CODE | |
| LOW | py/packages/genkit/src/genkit/_ai/_formats/_jsonl.py | 114 | CODE | |
| LOW | …genkit-middleware/src/genkit_middleware/_filesystem.py | 162 | CODE | |
| LOW | …/genkit-google-genai/src/genkit_google_genai/google.py | 177 | CODE | |
| LOW | …/genkit-google-genai/src/genkit_google_genai/google.py | 522 | CODE | |
| LOW | …-google-genai/src/genkit_google_genai/models/gemini.py | 1346 | CODE | |
| LOW | …-google-genai/src/genkit_google_genai/models/gemini.py | 1471 | CODE | |
| LOW | …-google-genai/src/genkit_google_genai/models/gemini.py | 1596 | CODE | |
| LOW | …-google-genai/src/genkit_google_genai/models/gemini.py | 1718 | CODE | |
| LOW | …-google-genai/src/genkit_google_genai/models/gemini.py | 1845 | CODE | |
| LOW | …-google-genai/src/genkit_google_genai/models/gemini.py | 1866 | CODE | |
| LOW | …kit-google-genai/src/genkit_google_genai/models/veo.py | 214 | CODE | |
| LOW | …t-google-genai/src/genkit_google_genai/models/utils.py | 111 | CODE | |
| LOW | …oogle-genai/src/genkit_google_genai/models/embedder.py | 251 | CODE | |
| LOW | …oogle-genai/src/genkit_google_genai/models/embedder.py | 298 | CODE | |
| LOW | …genai/src/genkit_google_genai/evaluators/evaluation.py | 165 | CODE | |
| LOW | …ckages/genkit-anthropic/src/genkit_anthropic/models.py | 186 | CODE | |
| LOW | …ckages/genkit-anthropic/src/genkit_anthropic/models.py | 278 | CODE | |
| LOW | …ckages/genkit-anthropic/src/genkit_anthropic/models.py | 353 | CODE | |
| LOW | …ckages/genkit-anthropic/src/genkit_anthropic/models.py | 365 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | py/packages/genkit/src/genkit/_core/_registry.py | 456 | # IMPORTANT: Do not hold `_lock` across any `await`. The critical section | COMMENT |
| LOW⚡ | go/genkit/genkit.go | 441 | // // Step 1: Process input (traced as "process-input") | COMMENT |
| LOW⚡ | go/genkit/genkit.go | 450 | // // Step 2: Generate response (traced as "generate-response") | COMMENT |
| LOW⚡ | go/samples/mcp-server/README.md | 14 | #### Step 1: Test the server works | COMMENT |
| LOW⚡ | go/samples/mcp-server/README.md | 20 | #### Step 2: Configure client. | COMMENT |
| LOW⚡ | go/samples/mcp-server/README.md | 23 | #### Step 4: Test your assistant's connection to the MCP server with these quries: | COMMENT |
| LOW | js/testapps/vertexai-vector-search-custom/README.md | 15 | ### Step 1: Clone the Repository and Install Dependencies | COMMENT |
| LOW | js/testapps/vertexai-vector-search-custom/README.md | 26 | ### Step 3: Set Up Environment Variables | COMMENT |
| LOW | js/testapps/vertexai-vector-search-custom/README.md | 43 | ### Step 4: Run the Sample | COMMENT |
| LOW | js/testapps/vertexai-vector-search-bigquery/README.md | 16 | ### Step 1: Clone the Repository and Install Dependencies | COMMENT |
| LOW | js/testapps/vertexai-vector-search-bigquery/README.md | 27 | ### Step 3: Set Up Environment Variables | COMMENT |
| LOW | js/testapps/vertexai-vector-search-bigquery/README.md | 47 | ### Step 4: Run the Sample | COMMENT |
| LOW | js/testapps/vertexai-reranker/README.md | 15 | ### Step 1: Clone the Repository and Install Dependencies | COMMENT |
| LOW | js/testapps/vertexai-reranker/README.md | 23 | ### Step 2: Set Up Environment Variables | COMMENT |
| LOW | js/testapps/vertexai-reranker/README.md | 34 | ### Step 3: Run the Sample | COMMENT |
| LOW | js/testapps/vertexai-vector-search-firestore/README.md | 16 | ### Step 1: Clone the Repository and Install Dependencies | COMMENT |
| LOW | js/testapps/vertexai-vector-search-firestore/README.md | 27 | ### Step 3: Set Up Environment Variables | COMMENT |
| LOW | js/testapps/vertexai-vector-search-firestore/README.md | 44 | ### Step 4: Run the Sample | COMMENT |
| LOW | js/testapps/ollama/README.md | 12 | ### Step 1: Install Ollama | COMMENT |
| LOW | js/testapps/ollama/README.md | 23 | ### Step 2: Pull the Required Models | COMMENT |
| LOW | js/testapps/ollama/src/index.ts | 72 | // Step 1: Embed each Pokemon's description | COMMENT |
| LOW | js/testapps/ollama/src/index.ts | 84 | // Step 2: Find top 3 Pokemon closest to the input | COMMENT |
| LOW | js/testapps/ollama/src/index.ts | 108 | // Step 3: Generate response with RAG results in context | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | README.md | 11 | It offers a unified interface for integrating AI models from providers like [Google](https://genkit.dev/docs/plugins/goo | CODE |
| MEDIUM | README.md | 46 | structured output</a>, <a href="https://genkit.dev/docs/tool-calling">agentic tool calling</a>, <a href="https://gen | CODE |
| MEDIUM | py/README.md | 310 | │ ├── checks/ # Safety guardrails | CODE |
| MEDIUM | py/packages/genkit-ollama/README.md | 112 | # Reasoning model with a 32k context window kept warm for an hour | COMMENT |
| MEDIUM | py/packages/genkit-ollama/src/genkit_ollama/models.py | 483 | # ``think`` chain-of-thought arrives on ``message.thinking``; surface it | COMMENT |
| MEDIUM | …es/genkit-anthropic/src/genkit_anthropic/model_info.py | 128 | # and enterprise workflows. Supports 1M context window (beta). | COMMENT |
| MEDIUM | js/testapps/angular/README.md | 15 | ## Code scaffolding | COMMENT |
| MEDIUM | js/testapps/rag/README.md | 1 | # RAG (Retrieval-Augmented Generation) | COMMENT |
| MEDIUM | js/testapps/multimodal/README.md | 1 | # Multimodal RAG | COMMENT |
| MEDIUM | samples/js-angular/genkit-app/README.md | 9 | ## Code scaffolding | COMMENT |
| MEDIUM | samples/js-chatbot/genkit-app/README.md | 9 | ## Code scaffolding | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | py/packages/genkit-django/src/genkit_django/__init__.py | 84 | __all__ = ['package_name', genkit_django_handler.__name__] | CODE |
| LOW | …enkit-google-cloud/src/genkit_google_cloud/__init__.py | 155 | __all__ = [ | CODE |
| LOW | …le-cloud/src/genkit_google_cloud/telemetry/__init__.py | 74 | __all__ = ['add_gcp_telemetry', 'enable_google_cloud_telemetry'] | CODE |
| LOW | …kages/genkit-openai/src/genkit_openai/openai_plugin.py | 515 | __all__ = ['OpenAI', 'openai_model'] | CODE |
| LOW | py/packages/genkit-openai/src/genkit_openai/__init__.py | 161 | __all__ = ['OpenAI', 'OpenAIConfig', 'openai_model', 'package_name'] | CODE |
| LOW | …ges/genkit-openai/src/genkit_openai/models/__init__.py | 40 | __all__ = [ | CODE |
| LOW | py/packages/genkit-ollama/src/genkit_ollama/__init__.py | 179 | __all__ = [ | CODE |
| LOW | py/packages/genkit/src/genkit/__init__.py | 84 | __all__ = [ | CODE |
| LOW | py/packages/genkit/src/genkit/middleware/__init__.py | 76 | __all__ = [ | CODE |
| LOW | py/packages/genkit/src/genkit/evaluator/__init__.py | 46 | __all__ = [ | CODE |
| LOW | py/packages/genkit/src/genkit/_core/_channel.py | 83 | def set_close_future(self, future: asyncio.Future[R]) -> None: | CODE |
| LOW | py/packages/genkit/src/genkit/_core/_action.py | 677 | def set_action_name(action: Action[Any, Any, Any], name: str) -> None: | CODE |
| LOW | py/packages/genkit/src/genkit/embedder/__init__.py | 44 | __all__ = [ | CODE |
| LOW | py/packages/genkit/src/genkit/plugin_api/__init__.py | 56 | __all__ = [ | CODE |
| LOW | py/packages/genkit/src/genkit/model/__init__.py | 49 | __all__ = [ | CODE |
| LOW | …packages/genkit-fastapi/src/genkit_fastapi/__init__.py | 62 | __all__ = ['package_name', 'genkit_fastapi_handler'] | CODE |
| LOW | …es/genkit-middleware/src/genkit_middleware/__init__.py | 94 | __all__ = [ | CODE |
| LOW | …ckages/genkit-vertexai/src/genkit_vertexai/__init__.py | 147 | __all__ = [ | CODE |
| LOW | …-vertexai/src/genkit_vertexai/model_garden/__init__.py | 23 | __all__ = ['ModelGarden', 'ModelGardenPlugin', 'model_garden_name'] | CODE |
| LOW | …enkit-google-genai/src/genkit_google_genai/__init__.py | 235 | __all__ = [ | CODE |
| LOW | …t-google-genai/src/genkit_google_genai/models/utils.py | 72 | logger = logging.getLogger(__name__) | CODE |
| LOW | …e-genai/src/genkit_google_genai/evaluators/__init__.py | 143 | __all__ = [ | CODE |
| LOW | …es/genkit-evaluators/src/genkit_evaluators/__init__.py | 21 | __all__ = ['genkit_eval_name', 'register_genkit_evaluators'] | CODE |
| LOW | py/packages/genkit-flask/src/genkit_flask/__init__.py | 151 | __all__ = ['genkit_flask_handler', 'package_name'] | CODE |
| LOW | …ages/genkit-anthropic/src/genkit_anthropic/__init__.py | 186 | __all__ = ['Anthropic', 'anthropic_name'] | CODE |
| LOW | …ackages/genkit-anthropic/src/genkit_anthropic/utils.py | 45 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | py/pyproject.toml | 251 | "ASYNC", # flake8-async (async best practices) | CODE |
| LOW | …/packages/genkit-ollama/tests/models/embedders_test.py | 142 | # The current implementation will just use whatever embeddings are returned. | COMMENT |
| MEDIUM | go/ai/exp/jsonpatch.go | 38 | // deltas stays robust. | COMMENT |
| MEDIUM | go/ai/exp/jsonpatch.go | 121 | // It is lenient to keep streaming robust: an add or replace whose parent | COMMENT |
| MEDIUM | js/plugins/google-genai/src/common/utils.ts | 612 | // Essentially newPart[key] = part[key] with type safety. | COMMENT |
| MEDIUM | js/plugins/anthropic/src/runner/stable.ts | 127 | // This is intentional. `part.metadata?.cache_control` is unknown, and casting it to the relevant type of the pr | COMMENT |
| MEDIUM⚡ | tests/specs/agent.yaml | 9 | # See docs/agents-conformance-testing.md for harness requirements and | COMMENT |
| MEDIUM | samples/js-chatbot/genkit-app/package-lock.json | 12992 | "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz", | CODE |
| MEDIUM | genkit-tools/cli/src/utils/runtime-detector.ts | 142 | // Definitely Node.js | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | py/packages/genkit/tests/genkit/veneer/veneer_test.py | 1215 | '"default": null,\n "description": "foo field",\n ' | CODE |
| HIGH | py/packages/genkit/tests/genkit/veneer/veneer_test.py | 1219 | '"default": null,\n "description": "bar field",\n ' | CODE |
| HIGH | py/packages/genkit/tests/genkit/veneer/veneer_test.py | 1470 | '{"type": "null"}], "default": null, "description": "foo field", ' | CODE |
| HIGH | py/packages/genkit/tests/genkit/veneer/veneer_test.py | 1472 | '{"type": "null"}], "default": null, "description": "bar field", ' | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …gle-cloud/src/genkit_google_cloud/telemetry/metrics.py | 173 | # Check if this is a model action | COMMENT |
| LOW | py/packages/genkit/tests/genkit/ai/embedding_test.py | 233 | # Check if config from EmbedderRef and options are merged correctly | COMMENT |
| LOW | py/packages/genkit/src/genkit/_ai/_aio.py | 1263 | # Check if model supports long-running operations | COMMENT |
| LOW | py/packages/genkit/src/genkit/_ai/_model.py | 99 | # Check if metadata has model info | COMMENT |
| LOW | …/packages/genkit-fastapi/src/genkit_fastapi/handler.py | 128 | # Check if client wants streaming | COMMENT |
| LOW | …-google-genai/src/genkit_google_genai/models/gemini.py | 1928 | # Check if the model supports constrained generation with this configuration | COMMENT |
| LOW | …kit-google-genai/src/genkit_google_genai/models/veo.py | 327 | # Check if result is a coroutine (awaitable) or direct value | COMMENT |
| LOW | scripts/cli-releases/promote_cli_gcs.sh | 122 | # Check if gh CLI is available | COMMENT |
| LOW | scripts/cli-releases/promote_cli_gcs.sh | 192 | # Check if file exists | COMMENT |
| LOW | scripts/cli-releases/promote_cli_gcs.sh | 200 | # Check if versioned file already exists. | COMMENT |
| LOW | .github/workflows/build-cli-binaries.yml | 183 | # Check if it started successfully by looking for the expected output | COMMENT |
| LOW | .github/workflows/build-cli-binaries.yml | 198 | # Check if process is still running | COMMENT |
| LOW | .github/workflows/build-cli-binaries.yml | 252 | # Check if process is still running | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …gle-cloud/src/genkit_google_cloud/telemetry/tracing.py | 222 | CODE | |
| LOW | …gle-cloud/src/genkit_google_cloud/telemetry/tracing.py | 332 | CODE | |
| LOW | …ogle-cloud/src/genkit_google_cloud/telemetry/config.py | 98 | CODE | |
| LOW | py/packages/genkit/src/genkit/_ai/_prompt.py | 241 | CODE | |
| LOW | py/packages/genkit/src/genkit/_ai/_aio.py | 449 | CODE | |
| LOW | py/packages/genkit/src/genkit/_ai/_aio.py | 477 | CODE | |
| LOW | py/packages/genkit/src/genkit/_ai/_aio.py | 505 | CODE | |
| LOW | py/packages/genkit/src/genkit/_ai/_aio.py | 533 | CODE | |
| LOW | py/packages/genkit/src/genkit/_ai/_aio.py | 559 | CODE | |
| LOW | py/packages/genkit/src/genkit/_ai/_aio.py | 830 | CODE | |
| LOW | py/packages/genkit/src/genkit/_ai/_aio.py | 857 | CODE | |
| LOW | py/packages/genkit/src/genkit/_ai/_aio.py | 882 | CODE | |
| LOW | py/packages/genkit/src/genkit/_ai/_aio.py | 947 | CODE | |
| LOW | py/packages/genkit/src/genkit/_ai/_aio.py | 975 | CODE | |
| LOW | py/packages/genkit/src/genkit/_ai/_aio.py | 1001 | CODE | |
| LOW | py/packages/genkit/src/genkit/_ai/_aio.py | 1226 | CODE | |
| LOW | …/genkit-google-genai/src/genkit_google_genai/google.py | 768 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | py/samples/context/src/main.py | 28 | 123: {'name': 'Jane Doe', 'plan': 'enterprise'}, | CODE |
| LOW | go/samples/coffee-shop/main.go | 26 | // curl -d '{"key":"/flow/simpleGreeting/simpleGreeting", "input":{"start": {"input":{"customerName": "John Doe"}}}}' ht | COMMENT |
| LOW | go/samples/partials-and-helpers/main.go | 34 | "name": "John Doe", | CODE |
| LOW | go/ai/generate_test.go | 234 | "street": "123 Main St", | CODE |
| LOW | …lugins/google-cloud/tests/logs_no_input_output_test.ts | 43 | serviceAccountEmail: 'test@test.com', | CODE |
| LOW | js/plugins/google-cloud/tests/metrics_test.ts | 51 | serviceAccountEmail: 'test@test.com', | CODE |
| LOW | js/plugins/google-cloud/tests/logs_test.ts | 46 | serviceAccountEmail: 'test@test.com', | CODE |
| LOW | js/plugins/google-cloud/tests/traces_test.ts | 44 | serviceAccountEmail: 'test@test.com', | CODE |
| LOW | js/plugins/compat-oai/src/index.ts | 127 | apiKey: apiKey === false ? 'placeholder' : apiKey, | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | go/genkit/genkit.go | 441 | // // Step 1: Process input (traced as "process-input") | COMMENT |
| LOW⚡ | go/genkit/genkit.go | 450 | // // Step 2: Generate response (traced as "generate-response") | COMMENT |
| LOW | js/testapps/ollama/src/index.ts | 72 | // Step 1: Embed each Pokemon's description | COMMENT |
| LOW | js/testapps/ollama/src/index.ts | 84 | // Step 2: Find top 3 Pokemon closest to the input | COMMENT |
| LOW | js/testapps/ollama/src/index.ts | 108 | // Step 3: Generate response with RAG results in context | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | go/genkit/genkit.go | 1592 | // Example usage: | COMMENT |
| LOW | go/plugins/firebase/telemetry.go | 81 | // Example usage: | COMMENT |
| LOW | go/plugins/googlecloud/googlecloud.go | 62 | // Example usage: | COMMENT |
| LOW | go/internal/cmd/weave/weave.go | 20 | // Example usage: | COMMENT |
| LOW⚡ | .github/actions/setup-ollama/action.yml | 25 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | js/testapps/flow-simple-ai/src/index.ts | 48 | // These are configured for demonstration purposes. Sensible defaults are | COMMENT |