Fastest enterprise AI gateway (50x faster than LiteLLM) with adaptive load balancer, cluster mode, guardrails, 1000+ models support & <100 µs overhead at 5k RPS.
This report presents the forensic synthetic code analysis of maximhq/bifrost, a Go project with 6,511 GitHub stars. SynthScan v2.0 examined 956,983 lines of code across 2536 source files, recording 2499 pattern matches distributed across 20 syntactic categories. The overall adjusted score of 4.2 places this repository in the Likely human-written 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).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
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 2499 distinct pattern matches across 20 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 |
|---|---|---|---|---|
| MEDIUM | terraform/modules/bifrost/variables.tf | 180 | # ----------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | terraform/modules/bifrost/variables.tf | 183 | #----------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | terraform/modules/bifrost/azure/main.tf | 1 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/azure/main.tf | 3 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/azure/main.tf | 34 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/azure/main.tf | 36 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/azure/main.tf | 50 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/azure/main.tf | 52 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/azure/main.tf | 72 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/azure/main.tf | 74 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/azure/main.tf | 101 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/azure/main.tf | 103 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | terraform/modules/bifrost/azure/main.tf | 153 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | terraform/modules/bifrost/azure/main.tf | 155 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | terraform/modules/bifrost/azure/main.tf | 164 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | terraform/modules/bifrost/azure/main.tf | 166 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | terraform/modules/bifrost/azure/services/aci/main.tf | 1 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | terraform/modules/bifrost/azure/services/aci/main.tf | 3 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | terraform/modules/bifrost/azure/services/aci/main.tf | 13 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | terraform/modules/bifrost/azure/services/aci/main.tf | 15 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/azure/services/aks/main.tf | 1 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/azure/services/aks/main.tf | 3 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/azure/services/aks/main.tf | 16 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/azure/services/aks/main.tf | 18 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/azure/services/aks/main.tf | 53 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/azure/services/aks/main.tf | 55 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/azure/services/aks/main.tf | 68 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/azure/services/aks/main.tf | 70 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/azure/services/aks/main.tf | 85 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/azure/services/aks/main.tf | 87 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/azure/services/aks/main.tf | 151 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/azure/services/aks/main.tf | 153 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/azure/services/aks/main.tf | 289 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/azure/services/aks/main.tf | 291 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/azure/services/aks/main.tf | 318 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/azure/services/aks/main.tf | 320 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/azure/services/aks/main.tf | 364 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/azure/services/aks/main.tf | 366 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/tests/gcp_cloudrun.tftest.hcl | 1 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/tests/gcp_cloudrun.tftest.hcl | 3 | # ============================================================================= | COMMENT |
| MEDIUM | …raform/modules/bifrost/tests/config_merging.tftest.hcl | 1 | # ============================================================================= | COMMENT |
| MEDIUM | …raform/modules/bifrost/tests/config_merging.tftest.hcl | 3 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/tests/azure_aks.tftest.hcl | 1 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/tests/azure_aks.tftest.hcl | 3 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/tests/azure_aci.tftest.hcl | 1 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/tests/azure_aci.tftest.hcl | 3 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/tests/aws_shared.tftest.hcl | 1 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/tests/aws_shared.tftest.hcl | 3 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/tests/aws_eks.tftest.hcl | 1 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/tests/aws_eks.tftest.hcl | 3 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/tests/kubernetes.tftest.hcl | 1 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/tests/kubernetes.tftest.hcl | 3 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/tests/gcp_gke.tftest.hcl | 1 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/tests/gcp_gke.tftest.hcl | 3 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/tests/aws_ecs.tftest.hcl | 1 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/tests/aws_ecs.tftest.hcl | 3 | # ============================================================================= | COMMENT |
| MEDIUM | …aform/modules/bifrost/tests/root_validation.tftest.hcl | 1 | # ============================================================================= | COMMENT |
| MEDIUM | …aform/modules/bifrost/tests/root_validation.tftest.hcl | 7 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/tests/setup/main.tf | 1 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/modules/bifrost/tests/setup/main.tf | 10 | # ============================================================================= | COMMENT |
| 517 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …aform/modules/bifrost/tests/root_validation.tftest.hcl | 141 | COMMENT | |
| LOW | terraform/modules/bifrost/aws/services/eks/main.tf | 1 | # ============================================================================= | COMMENT |
| LOW | ui/next-env.d.ts | 1 | /// <reference types="next" /> | COMMENT |
| LOW | ui/app/clientLayout.tsx | 41 | // anonymous visitor arriving with `#t=<token>` gets a stripped MinimalShell. | COMMENT |
| LOW | ui/app/oauth/consent/layout.tsx | 1 | import TempTokenScope from "@/components/tempTokenScope"; | COMMENT |
| LOW | …/components/load-balancer/loadBalancerSettingsView.tsx | 1 | // On OSS, the adaptive routing settings page shows the same enterprise upsell as the | COMMENT |
| LOW | …backs/enterprise/lib/registrations/modelLimitScopes.ts | 1 | // OSS-build fallback for the enterprise scope registrations. | COMMENT |
| LOW | ui/app/workspace/mcp-sessions/auth/page.tsx | 1 | // Auth landing route for inline-401 URLs returned by the inference path. | COMMENT |
| LOW | …app/workspace/mcp-sessions/views/sessionsFilterBar.tsx | 1 | // Inline filter row above the sessions table: search input + three multi- | COMMENT |
| LOW | ui/app/workspace/mcp-sessions/views/sessionsTable.tsx | 1 | // Base sessions table: renders token rows + pending flow rows + per-user | COMMENT |
| LOW | ui/components/headersForm.tsx | 1 | // Reusable form for the MCP per-user-headers flow. | COMMENT |
| LOW | ui/components/headersForm.tsx | 21 | import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "@/components/ui/tooltip"; | COMMENT |
| LOW | ui/components/headersForm.tsx | 41 | onSubmit: (values: Record<string, string>) => Promise<void> | void; | COMMENT |
| LOW | ui/components/tempTokenScope.tsx | 1 | // TempTokenScope wraps a page that authenticates via a short-lived temp token | COMMENT |
| LOW | ui/components/tempTokenScope.tsx | 21 | import { useEffect, useState } from "react"; | COMMENT |
| LOW | ui/lib/types/mcpPerUserHeaders.ts | 1 | // Types for the MCP per-user headers credential flow. | COMMENT |
| LOW | ui/lib/types/mcpSessions.ts | 1 | // Types for the MCP Auth Sessions tab + auth landing flow. | COMMENT |
| LOW | ui/lib/types/mcpSessions.ts | 61 | created_at: string; | COMMENT |
| LOW | ui/lib/registries/modelLimitScopes.tsx | 1 | // Runtime registry of model_config scopes available to the UI. | COMMENT |
| LOW | ui/lib/store/apis/mcpSessionsApi.ts | 41 | }), | COMMENT |
| LOW | ui/lib/store/apis/tempToken.ts | 1 | // Module-level state for the temp-token scope wrapper. | COMMENT |
| LOW | core/bifrost_test.go | 1701 | // caused the "send on closed channel" production panic in the OLD code. | COMMENT |
| LOW | core/bifrost_test.go | 2081 | if t.Failed() { | COMMENT |
| LOW | core/utils.go | 341 | // internal sub-request (e.g. a plugin generating an embedding for its own | COMMENT |
| LOW | core/bifrost.go | 101 | // Producers must check the closing flag or select on the done channel before sending. | COMMENT |
| LOW | core/bifrost.go | 121 | // - Producers bail via case <-pq.done: — safe | COMMENT |
| LOW | core/bifrost.go | 2781 | // tool executions so PostMCPHook consumers (e.g. the logging plugin) see an explicit value. | COMMENT |
| LOW | core/bifrost.go | 3581 | return err | COMMENT |
| LOW | core/bifrost.go | 3861 | } | COMMENT |
| LOW | core/bifrost.go | 3881 | // Message string `json:"message"` | COMMENT |
| LOW | core/bifrost.go | 3961 | // Returns: | COMMENT |
| LOW | core/bifrost.go | 4021 | // | COMMENT |
| LOW | core/bifrost.go | 4061 | ) | COMMENT |
| LOW | core/bifrost.go | 4461 | ShortCircuitResponse *schemas.BifrostResponse | COMMENT |
| LOW | core/bifrost.go | 5701 | // errAllKeysDead is returned by a keyProvider closure when every key in the configured pool | COMMENT |
| LOW | core/bifrost.go | 6361 | // BifrostContextKeyStoreRawRequestResponse). A context value set to either true | COMMENT |
| LOW | core/bifrost.go | 6601 | // snapshots its own attemptResolvedModel inside the per-attempt closure. | COMMENT |
| LOW | core/bifrost.go | 6641 | // Snapshot per-attempt so postHookRunner doesn't observe a later retry's | COMMENT |
| LOW | core/bifrost.go | 7301 | // top-level request. Plugins mutate req.Provider, req.Model, req.Fallbacks (and any other field | COMMENT |
| LOW | core/bifrost.go | 7341 | COMMENT | |
| LOW | core/bifrost.go | 8201 | // permitted. Key selection (choosing which key to use) is deferred to executeRequestWithRetries | COMMENT |
| LOW | core/providers/gemini/passthrough_usage.go | 261 | COMMENT | |
| LOW | core/providers/gemini/types.go | 61 | // Token generation reached a natural stopping point or a configured stop sequence. | COMMENT |
| LOW | core/providers/gemini/types.go | 221 | // will validate function calls with constrained decoding. If "allowed_function_names" | COMMENT |
| LOW | core/providers/gemini/types.go | 261 | Behavior Behavior `json:"behavior,omitempty"` | COMMENT |
| LOW | core/providers/gemini/types.go | 281 | // "age": { "type": "integer" } }, "additionalProperties": false, "required": ["name", | COMMENT |
| LOW | core/providers/gemini/types.go | 301 | // If set, the system will wait to receive the function response before continuing the | COMMENT |
| LOW | core/providers/gemini/types.go | 441 | COMMENT | |
| LOW | core/providers/gemini/types.go | 461 | COMMENT | |
| LOW | core/providers/gemini/types.go | 481 | // - The audience for the token will be set to the URL in the server URL defined in | COMMENT |
| LOW | core/providers/gemini/types.go | 621 | // for those data stores. This is only considered for Engines with multiple data stores. | COMMENT |
| LOW | core/providers/gemini/types.go | 701 | // only or ragfiles. Currently only support one corpus or multiple files from one corpus. | COMMENT |
| LOW | core/providers/gemini/types.go | 721 | // Use data source powered by external API for grounding. | COMMENT |
| LOW | core/providers/gemini/types.go | 741 | // to the model for generation. | COMMENT |
| LOW | core/providers/gemini/types.go | 841 | // and https://cloud.google.com/vertex-ai/generative-ai/docs/multimodal/content-generation-parameters. | COMMENT |
| LOW | core/providers/gemini/types.go | 861 | // Optional. Positive penalties. | COMMENT |
| LOW | core/providers/gemini/types.go | 881 | // otherwise the behavior is undefined. This is a preview feature. | COMMENT |
| LOW | core/providers/gemini/types.go | 941 | COMMENT | |
| LOW | core/providers/gemini/types.go | 1281 | COMMENT | |
| LOW | core/providers/gemini/types.go | 1581 | // calls (see FunctionDeclaration.behavior for details), ignored otherwise. If false, | COMMENT |
| 515 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | ui/app/workspace/mcp-logs/views/emptyState.tsx | 88 | # Step 1: Initialize OpenAI client with Bifrost | COMMENT |
| LOW⚡ | ui/app/workspace/mcp-logs/views/emptyState.tsx | 94 | # Step 2: Send chat request | COMMENT |
| LOW⚡ | ui/app/workspace/mcp-logs/views/emptyState.tsx | 100 | # Step 3: Check for tool calls | COMMENT |
| LOW⚡ | ui/app/workspace/mcp-logs/views/emptyState.tsx | 104 | # Step 4: Execute tool via Bifrost | COMMENT |
| LOW⚡ | ui/app/workspace/mcp-logs/views/emptyState.tsx | 117 | # Step 5: Continue conversation with results | COMMENT |
| LOW⚡ | ui/app/workspace/mcp-logs/views/emptyState.tsx | 129 | // Step 1: Initialize OpenAI client with Bifrost | COMMENT |
| LOW⚡ | ui/app/workspace/mcp-logs/views/emptyState.tsx | 135 | // Step 2: Send chat request | COMMENT |
| LOW⚡ | ui/app/workspace/mcp-logs/views/emptyState.tsx | 143 | // Step 3: Check for tool calls | COMMENT |
| LOW⚡ | ui/app/workspace/mcp-logs/views/emptyState.tsx | 146 | // Step 4: Execute tool via Bifrost | COMMENT |
| LOW | ui/app/workspace/mcp-logs/views/emptyState.tsx | 160 | // Step 5: Continue conversation with results | COMMENT |
| LOW | core/bifrost_test.go | 1750 | // Step 1: isClosing() passes — queue is open. | COMMENT |
| LOW | core/bifrost_test.go | 1763 | // Step 2: enter the exact select guard used in production. | COMMENT |
| LOW⚡ | core/bifrost_test.go | 2133 | // Step 2: atomically replace — new producers now get newPq | COMMENT |
| LOW⚡ | core/bifrost_test.go | 2135 | // Step 4: signal old closing — stale producers will detect this | COMMENT |
| LOW⚡ | core/bifrost_test.go | 2371 | // Step 2: expose newPq first so stale producers can re-route to it | COMMENT |
| LOW⚡ | core/bifrost_test.go | 2375 | // Step 3: transfer buffered messages oldPq → newPq. | COMMENT |
| LOW | core/bifrost_test.go | 2391 | // Step 4: signal closing — producers holding a stale oldPq ref now | COMMENT |
| LOW⚡ | core/bifrost.go | 3536 | // Step 1: Load the ProviderQueue and verify provider exists | COMMENT |
| LOW⚡ | core/bifrost.go | 3543 | // Step 2: Signal closing. Blocks new producers (isClosing() returns true) and | COMMENT |
| LOW⚡ | core/bifrost.go | 3548 | // Step 3: Wait for all workers to finish in-flight requests and exit. | COMMENT |
| LOW⚡ | core/bifrost.go | 3567 | // Step 4: Remove the provider from the request queues. | COMMENT |
| LOW⚡ | core/bifrost.go | 3570 | // Step 5: Remove the provider from the wait groups. | COMMENT |
| LOW⚡ | core/bifrost.go | 3573 | // Step 6: Remove the provider from the providers slice. | COMMENT |
| LOW⚡ | core/bifrost.go | 3648 | // Step 1: Create provider instance before touching live routing state. If | COMMENT |
| LOW⚡ | core/bifrost.go | 3655 | // Step 2: Create new ProviderQueue and wait group with updated settings. | COMMENT |
| LOW⚡ | core/bifrost.go | 3663 | // Step 3: Atomically replace the provider in the providers slice before new | COMMENT |
| LOW⚡ | core/bifrost.go | 3777 | // Step 6: Register cleanup before signalling the old queue. Otherwise | COMMENT |
| LOW⚡ | core/bifrost.go | 3787 | // Step 7: Signal the old queue is closing. Stale producers that still hold a | COMMENT |
| LOW⚡ | core/bifrost.go | 3792 | // Step 8: Cleanup old workers asynchronously. Waiting here under the provider | COMMENT |
| LOW⚡ | core/bifrost.go | 6403 | // Step 2: derive per-side capture and strip flags. | COMMENT |
| LOW⚡ | core/bifrost.go | 6411 | // Step 3: write all internal signals explicitly (never touch the user override keys). | COMMENT |
| LOW | core/bifrost.go | 3706 | // Step 4: Publish the new queue/wait group and start new workers before old | COMMENT |
| LOW | core/bifrost.go | 3722 | // Step 5: Transfer buffered requests from the old queue to the new queue BEFORE | COMMENT |
| LOW | core/bifrost.go | 6379 | // Step 1: compute effective value for each flag (provider config ← per-request override). | COMMENT |
| LOW⚡ | core/providers/utils/models.go | 274 | // Step 1: resolve name — collect all alias matches (or the raw ID if none match). | COMMENT |
| LOW⚡ | core/providers/utils/models.go | 281 | // Step 2: allowlist check. | COMMENT |
| LOW | core/providers/utils/models.go | 297 | // Step 3: blacklist check — blacklist always wins regardless of allowlist or aliases. | COMMENT |
| LOW | core/providers/utils/utils_test.go | 353 | // Step 1: Parse the error (like ParseOpenAIError does) | COMMENT |
| LOW | core/providers/utils/utils_test.go | 366 | // Step 2: Enrich with request (like providers do) | COMMENT |
| LOW⚡ | core/providers/bedrock/bedrock_test.go | 2526 | // Step 1: BedrockConverseRequest → BifrostResponsesRequest | COMMENT |
| LOW⚡ | core/providers/bedrock/bedrock_test.go | 2534 | // Step 2: BifrostResponsesRequest → BedrockConverseRequest | COMMENT |
| LOW | core/providers/anthropic/websearch_test.go | 183 | // Step 1: output_item.added | COMMENT |
| LOW | core/providers/anthropic/websearch_test.go | 199 | // Step 2: FunctionCallArgumentsDelta events (should be skipped) | COMMENT |
| LOW | core/providers/anthropic/websearch_test.go | 211 | // Step 3: output_item.done with full accumulated arguments | COMMENT |
| LOW | core/providers/anthropic/compaction_test.go | 598 | // Step 1: Anthropic → Bifrost | COMMENT |
| LOW | core/providers/anthropic/compaction_test.go | 629 | // Step 2: Bifrost → Anthropic | COMMENT |
| LOW⚡ | core/providers/openai/realtime_test.go | 759 | // Step 1: Parse the client event (same path as wsrealtime.go). | COMMENT |
| LOW⚡ | core/providers/openai/realtime_test.go | 768 | // Step 2: Convert back to provider format. | COMMENT |
| LOW⚡ | core/providers/openai/realtime_test.go | 775 | // Step 3: Verify the output JSON contains the audio field with correct value. | COMMENT |
| LOW | core/internal/mcptests/codemode_files_test.go | 626 | // Step 1: List tool files (returns a tree structure as text) | COMMENT |
| LOW | core/internal/mcptests/codemode_files_test.go | 646 | // Step 2: Read a tool file using readToolFile | COMMENT |
| LOW | core/internal/mcptests/codemode_files_test.go | 666 | // Step 3: Execute code that uses the tools | COMMENT |
| LOW | core/internal/llmtests/transcription_stream.go | 71 | // Step 1: Generate TTS audio | COMMENT |
| LOW | core/internal/llmtests/transcription_stream.go | 138 | // Step 2: Test streaming transcription | COMMENT |
| LOW | core/internal/llmtests/transcription.go | 98 | // Step 1: Generate TTS audio | COMMENT |
| LOW | core/internal/llmtests/transcription.go | 164 | // Step 2: Transcribe the generated audio | COMMENT |
| LOW⚡ | core/internal/llmtests/provider_feature_support_test.go | 889 | // Step 1: Validate tools for provider | COMMENT |
| LOW⚡ | core/internal/llmtests/provider_feature_support_test.go | 898 | // Step 2: Convert bifrost request → anthropic request | COMMENT |
| LOW | core/internal/llmtests/provider_feature_support_test.go | 919 | // Step 3: Verify web_search tool type if expected | COMMENT |
| LOW⚡ | core/internal/llmtests/provider_feature_support_test.go | 934 | // Step 4: Run beta header injection | COMMENT |
| 236 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | ui/app/workspace/mcp-logs/views/emptyState.tsx | 88 | # Step 1: Initialize OpenAI client with Bifrost | COMMENT |
| LOW⚡ | ui/app/workspace/mcp-logs/views/emptyState.tsx | 94 | # Step 2: Send chat request | COMMENT |
| LOW⚡ | ui/app/workspace/mcp-logs/views/emptyState.tsx | 100 | # Step 3: Check for tool calls | COMMENT |
| LOW⚡ | ui/app/workspace/mcp-logs/views/emptyState.tsx | 104 | # Step 4: Execute tool via Bifrost | COMMENT |
| LOW⚡ | ui/app/workspace/mcp-logs/views/emptyState.tsx | 117 | # Step 5: Continue conversation with results | COMMENT |
| LOW⚡ | ui/app/workspace/mcp-logs/views/emptyState.tsx | 129 | // Step 1: Initialize OpenAI client with Bifrost | COMMENT |
| LOW⚡ | ui/app/workspace/mcp-logs/views/emptyState.tsx | 135 | // Step 2: Send chat request | COMMENT |
| LOW⚡ | ui/app/workspace/mcp-logs/views/emptyState.tsx | 143 | // Step 3: Check for tool calls | COMMENT |
| LOW⚡ | ui/app/workspace/mcp-logs/views/emptyState.tsx | 146 | // Step 4: Execute tool via Bifrost | COMMENT |
| LOW | ui/app/workspace/mcp-logs/views/emptyState.tsx | 160 | // Step 5: Continue conversation with results | COMMENT |
| LOW | core/bifrost_test.go | 1750 | // Step 1: isClosing() passes — queue is open. | COMMENT |
| LOW | core/bifrost_test.go | 1763 | // Step 2: enter the exact select guard used in production. | COMMENT |
| LOW⚡ | core/bifrost_test.go | 2133 | // Step 2: atomically replace — new producers now get newPq | COMMENT |
| LOW⚡ | core/bifrost_test.go | 2135 | // Step 4: signal old closing — stale producers will detect this | COMMENT |
| LOW⚡ | core/bifrost_test.go | 2371 | // Step 2: expose newPq first so stale producers can re-route to it | COMMENT |
| LOW⚡ | core/bifrost_test.go | 2375 | // Step 3: transfer buffered messages oldPq → newPq. | COMMENT |
| LOW | core/bifrost_test.go | 2391 | // Step 4: signal closing — producers holding a stale oldPq ref now | COMMENT |
| LOW⚡ | core/bifrost.go | 3536 | // Step 1: Load the ProviderQueue and verify provider exists | COMMENT |
| LOW⚡ | core/bifrost.go | 3543 | // Step 2: Signal closing. Blocks new producers (isClosing() returns true) and | COMMENT |
| LOW⚡ | core/bifrost.go | 3548 | // Step 3: Wait for all workers to finish in-flight requests and exit. | COMMENT |
| LOW⚡ | core/bifrost.go | 3567 | // Step 4: Remove the provider from the request queues. | COMMENT |
| LOW⚡ | core/bifrost.go | 3570 | // Step 5: Remove the provider from the wait groups. | COMMENT |
| LOW⚡ | core/bifrost.go | 3573 | // Step 6: Remove the provider from the providers slice. | COMMENT |
| LOW⚡ | core/bifrost.go | 3648 | // Step 1: Create provider instance before touching live routing state. If | COMMENT |
| LOW⚡ | core/bifrost.go | 3655 | // Step 2: Create new ProviderQueue and wait group with updated settings. | COMMENT |
| LOW⚡ | core/bifrost.go | 3663 | // Step 3: Atomically replace the provider in the providers slice before new | COMMENT |
| LOW⚡ | core/bifrost.go | 3777 | // Step 6: Register cleanup before signalling the old queue. Otherwise | COMMENT |
| LOW⚡ | core/bifrost.go | 3787 | // Step 7: Signal the old queue is closing. Stale producers that still hold a | COMMENT |
| LOW⚡ | core/bifrost.go | 3792 | // Step 8: Cleanup old workers asynchronously. Waiting here under the provider | COMMENT |
| LOW⚡ | core/bifrost.go | 6403 | // Step 2: derive per-side capture and strip flags. | COMMENT |
| LOW⚡ | core/bifrost.go | 6411 | // Step 3: write all internal signals explicitly (never touch the user override keys). | COMMENT |
| LOW | core/bifrost.go | 3706 | // Step 4: Publish the new queue/wait group and start new workers before old | COMMENT |
| LOW | core/bifrost.go | 3722 | // Step 5: Transfer buffered requests from the old queue to the new queue BEFORE | COMMENT |
| LOW | core/bifrost.go | 6379 | // Step 1: compute effective value for each flag (provider config ← per-request override). | COMMENT |
| LOW⚡ | core/providers/utils/models.go | 274 | // Step 1: resolve name — collect all alias matches (or the raw ID if none match). | COMMENT |
| LOW⚡ | core/providers/utils/models.go | 281 | // Step 2: allowlist check. | COMMENT |
| LOW | core/providers/utils/models.go | 297 | // Step 3: blacklist check — blacklist always wins regardless of allowlist or aliases. | COMMENT |
| LOW | core/providers/utils/utils_test.go | 353 | // Step 1: Parse the error (like ParseOpenAIError does) | COMMENT |
| LOW | core/providers/utils/utils_test.go | 366 | // Step 2: Enrich with request (like providers do) | COMMENT |
| LOW⚡ | core/providers/bedrock/bedrock_test.go | 2526 | // Step 1: BedrockConverseRequest → BifrostResponsesRequest | COMMENT |
| LOW⚡ | core/providers/bedrock/bedrock_test.go | 2534 | // Step 2: BifrostResponsesRequest → BedrockConverseRequest | COMMENT |
| LOW | core/providers/anthropic/responses.go | 2530 | // If ContentIndex is 0, we need to check if there's reasoning content in the response | COMMENT |
| LOW | core/providers/anthropic/websearch_test.go | 183 | // Step 1: output_item.added | COMMENT |
| LOW | core/providers/anthropic/websearch_test.go | 199 | // Step 2: FunctionCallArgumentsDelta events (should be skipped) | COMMENT |
| LOW | core/providers/anthropic/websearch_test.go | 211 | // Step 3: output_item.done with full accumulated arguments | COMMENT |
| LOW | core/providers/anthropic/compaction_test.go | 598 | // Step 1: Anthropic → Bifrost | COMMENT |
| LOW | core/providers/anthropic/compaction_test.go | 629 | // Step 2: Bifrost → Anthropic | COMMENT |
| LOW | core/providers/anthropic/anthropic.go | 987 | // So we need to check if the response.Usage is nil and then if usage != nil | COMMENT |
| LOW⚡ | core/providers/openai/realtime_test.go | 759 | // Step 1: Parse the client event (same path as wsrealtime.go). | COMMENT |
| LOW⚡ | core/providers/openai/realtime_test.go | 768 | // Step 2: Convert back to provider format. | COMMENT |
| LOW⚡ | core/providers/openai/realtime_test.go | 775 | // Step 3: Verify the output JSON contains the audio field with correct value. | COMMENT |
| LOW | core/providers/openai/openai.go | 672 | // So we need to check if the response.Usage is nil and then if usage != nil | COMMENT |
| LOW | core/providers/openai/openai.go | 1329 | // So we need to check if the response.Usage is nil and then if usage != nil | COMMENT |
| LOW | core/internal/mcptests/codemode_files_test.go | 626 | // Step 1: List tool files (returns a tree structure as text) | COMMENT |
| LOW | core/internal/mcptests/codemode_files_test.go | 646 | // Step 2: Read a tool file using readToolFile | COMMENT |
| LOW | core/internal/mcptests/codemode_files_test.go | 666 | // Step 3: Execute code that uses the tools | COMMENT |
| LOW | core/internal/llmtests/transcription_stream.go | 71 | // Step 1: Generate TTS audio | COMMENT |
| LOW | core/internal/llmtests/transcription_stream.go | 138 | // Step 2: Test streaming transcription | COMMENT |
| LOW | core/internal/llmtests/transcription.go | 98 | // Step 1: Generate TTS audio | COMMENT |
| LOW | core/internal/llmtests/transcription.go | 164 | // Step 2: Transcribe the generated audio | COMMENT |
| 165 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/load_test_parameter_ordering.sh | 635 | except Exception as e: | CODE |
| LOW | tests/integrations/python/README.md | 996 | except Exception as e: | CODE |
| LOW⚡ | tests/integrations/python/README.md | 1361 | except Exception as e: | CODE |
| MEDIUM⚡ | tests/integrations/python/README.md | 1362 | print(f"Error extracting tool calls: {e}") | CODE |
| LOW | tests/integrations/python/README.md | 1471 | except Exception as e: | CODE |
| LOW | tests/integrations/python/run_integration_tests.py | 101 | except Exception as e: | CODE |
| LOW | tests/integrations/python/run_all_tests.py | 155 | except Exception as e: | CODE |
| LOW | tests/integrations/python/run_all_tests.py | 207 | except Exception as e: | CODE |
| MEDIUM | tests/integrations/python/run_all_tests.py | 318 | print(f"Error: Unknown integration '{args.integration}'") | STRING |
| MEDIUM | tests/integrations/python/tests/test_anthropic.py | 4191 | def test_11_file_upload_and_container_upload(self, files_beta_client): | CODE |
| LOW⚡ | tests/integrations/python/tests/test_anthropic.py | 1130 | except Exception as e: | CODE |
| LOW⚡ | tests/integrations/python/tests/test_anthropic.py | 1133 | except Exception as e: | CODE |
| LOW | tests/integrations/python/tests/test_anthropic.py | 941 | except Exception as e: | CODE |
| LOW | tests/integrations/python/tests/test_anthropic.py | 944 | except Exception as e: | CODE |
| LOW | tests/integrations/python/tests/test_anthropic.py | 999 | except Exception as e: | CODE |
| LOW | tests/integrations/python/tests/test_anthropic.py | 1002 | except Exception as e: | CODE |
| LOW | tests/integrations/python/tests/test_anthropic.py | 1049 | except Exception as e: | CODE |
| LOW | tests/integrations/python/tests/test_anthropic.py | 1112 | except Exception as download_error: | CODE |
| LOW | tests/integrations/python/tests/test_anthropic.py | 1179 | except Exception as e: | CODE |
| LOW | tests/integrations/python/tests/test_anthropic.py | 1257 | except Exception: | CODE |
| LOW | tests/integrations/python/tests/test_anthropic.py | 1305 | except Exception as e: | CODE |
| LOW | tests/integrations/python/tests/test_anthropic.py | 1347 | except Exception as results_error: | CODE |
| LOW | tests/integrations/python/tests/test_anthropic.py | 1362 | except Exception: | CODE |
| LOW | tests/integrations/python/tests/test_anthropic.py | 1365 | except Exception as e: | CODE |
| LOW | tests/integrations/python/tests/test_anthropic.py | 1441 | except Exception as e: | CODE |
| LOW | tests/integrations/python/tests/test_anthropic.py | 2667 | except Exception as e: | CODE |
| LOW | tests/integrations/python/tests/test_anthropic.py | 4217 | except Exception as e: | CODE |
| LOW | tests/integrations/python/tests/test_anthropic.py | 4219 | except Exception as e: | CODE |
| LOW⚡ | tests/integrations/python/tests/test_openai.py | 3113 | except Exception as e: | CODE |
| LOW⚡ | tests/integrations/python/tests/test_openai.py | 3640 | except Exception: | CODE |
| LOW⚡ | tests/integrations/python/tests/test_openai.py | 3807 | except Exception as e: | CODE |
| LOW⚡ | tests/integrations/python/tests/test_openai.py | 3898 | except Exception as e: | CODE |
| LOW⚡ | tests/integrations/python/tests/test_openai.py | 3904 | except Exception as e: | CODE |
| LOW | tests/integrations/python/tests/test_openai.py | 357 | except Exception as e: | CODE |
| LOW | tests/integrations/python/tests/test_openai.py | 843 | except Exception as e: | CODE |
| LOW | tests/integrations/python/tests/test_openai.py | 1011 | except Exception as e: | CODE |
| LOW | tests/integrations/python/tests/test_openai.py | 1162 | except Exception as e: | CODE |
| LOW | tests/integrations/python/tests/test_openai.py | 1207 | except Exception as e: | CODE |
| LOW | tests/integrations/python/tests/test_openai.py | 1243 | except Exception as e: | CODE |
| LOW | tests/integrations/python/tests/test_openai.py | 1277 | except Exception as base64_error: | CODE |
| LOW | tests/integrations/python/tests/test_openai.py | 1280 | except Exception as e: | CODE |
| LOW | tests/integrations/python/tests/test_openai.py | 1724 | except Exception as e: | CODE |
| LOW | tests/integrations/python/tests/test_openai.py | 2308 | except Exception as e: | CODE |
| LOW | tests/integrations/python/tests/test_openai.py | 2442 | except Exception as e: | CODE |
| LOW | tests/integrations/python/tests/test_openai.py | 2915 | except Exception as e: | CODE |
| LOW | tests/integrations/python/tests/test_openai.py | 2968 | except Exception as e: | CODE |
| LOW | tests/integrations/python/tests/test_openai.py | 3015 | except Exception as e: | CODE |
| LOW | tests/integrations/python/tests/test_openai.py | 3175 | except Exception as e: | CODE |
| LOW | tests/integrations/python/tests/test_openai.py | 3213 | except Exception as e: | CODE |
| LOW | tests/integrations/python/tests/test_openai.py | 3217 | except Exception as e: | CODE |
| LOW | tests/integrations/python/tests/test_openai.py | 3292 | except Exception as e: | CODE |
| LOW | tests/integrations/python/tests/test_openai.py | 3297 | except Exception as e: | CODE |
| LOW | tests/integrations/python/tests/test_openai.py | 3371 | except Exception: | CODE |
| LOW | tests/integrations/python/tests/test_openai.py | 3409 | except Exception: | CODE |
| LOW | tests/integrations/python/tests/test_openai.py | 3414 | except Exception: | CODE |
| LOW | tests/integrations/python/tests/test_openai.py | 3483 | except Exception: | CODE |
| LOW | tests/integrations/python/tests/test_openai.py | 3488 | except Exception: | CODE |
| LOW | tests/integrations/python/tests/test_openai.py | 3534 | except Exception: | CODE |
| LOW | tests/integrations/python/tests/test_openai.py | 3571 | except Exception: | CODE |
| LOW | tests/integrations/python/tests/test_openai.py | 3716 | except Exception as e: | CODE |
| 146 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ui/app/pprof/page.tsx | 78 | function loadSkippedGoroutineFiles(): Set<string> { | CODE |
| LOW | ui/app/pprof/page.tsx | 88 | function saveSkippedGoroutineFiles(skipped: Set<string>): void { | CODE |
| LOW | …/components/guardrails/guardrailsConfigurationView.tsx | 4 | export default function GuardrailsConfigurationView() { | CODE |
| LOW | …ponents/large-payload/largePayloadSettingsFragment.tsx | 9 | export default function LargePayloadSettingsFragment(_props: LargePayloadSettingsFragmentProps) { | CODE |
| LOW | …/prompt-deployments/promptDeploymentsAccordionItem.tsx | 8 | export function PromptDeploymentsAccordionItem({ activeSection }: { activeSection: SettingsSidebarSection | undefined }) | CODE |
| LOW | …cks/enterprise/lib/store/utils/baseQueryWithRefresh.ts | 10 | export function createBaseQueryWithRefresh(baseQuery: BaseQueryFn): BaseQueryFn { | CODE |
| LOW | ui/app/workspace/scim/oauth-discover-callback/page.tsx | 3 | export default function OAuthDiscoverCallbackPage() { | CODE |
| LOW⚡ | ui/app/workspace/complexity-router/page.tsx | 156 | function preventNegativeBoundaryKey(event: KeyboardEvent<HTMLInputElement>) { | CODE |
| LOW⚡ | ui/app/workspace/complexity-router/page.tsx | 162 | function preventNegativeBoundaryPaste(event: ClipboardEvent<HTMLInputElement>) { | CODE |
| LOW⚡ | ui/app/workspace/complexity-router/page.tsx | 168 | function preventNegativeBoundaryDrop(event: DragEvent<HTMLInputElement>) { | CODE |
| LOW | ui/app/workspace/guardrails/configuration/page.tsx | 3 | export default function GuardrailsConfigurationPage() { | CODE |
| LOW | …orkspace/plugins/dialogs/confirmDeletePluginDialog.tsx | 22 | export default function ConfirmDeletePluginDialog({ show, onCancel, onDelete, plugin }: Props) { | CODE |
| LOW | ui/app/workspace/providers/routing-rules/page.tsx | 3 | export default function ProvidersRoutingRulesPage() { | CODE |
| LOW | …kspace/providers/dialogs/addNewCustomProviderSheet.tsx | 42 | export function AddCustomProviderSheetContent({ show = true, onClose, onSave }: AddCustomProviderSheetContentProps) { | CODE |
| LOW | …pace/providers/dialogs/confirmDeleteProviderDialog.tsx | 23 | export default function ConfirmDeleteProviderDialog({ show, onCancel, onDelete, provider }: Props) { | CODE |
| LOW | …rkspace/providers/views/modelProviderKeysTableView.tsx | 85 | export default function ModelProviderKeysTableView({ provider, className, headerActions, isKeyless }: Props) { | CODE |
| LOW | ui/app/workspace/adaptive-routing/settings/page.tsx | 3 | export default function AdaptiveRoutingSettingsPage() { | CODE |
| LOW | …ustom-pricing/overrides/scopedPricingOverridesView.tsx | 36 | function PricingOverrideActionsMenu({ | CODE |
| LOW | …ustom-pricing/overrides/scopedPricingOverridesView.tsx | 165 | export default function ScopedPricingOverridesView() { | CODE |
| LOW | …ustom-pricing/overrides/pricingOverridesEmptyState.tsx | 10 | export function PricingOverridesEmptyState({ onCreateClick }: PricingOverridesEmptyStateProps) { | CODE |
| LOW | ui/app/workspace/custom-pricing/overrides/page.tsx | 3 | export default function ScopedPricingOverridesPage() { | CODE |
| LOW | …ard/components/charts/externalCacheTokenMeterChart.tsx | 16 | function ExternalCacheTokenMeterChartImpl({ data }: ExternalCacheTokenMeterChartProps) { | CODE |
| LOW | …hboard/components/charts/localCacheTokenMeterChart.tsx | 13 | function LocalCacheTokenMeterChartImpl({ data }: LocalCacheTokenMeterChartProps) { | CODE |
| LOW | …/mcp-registry/library/views/mcpLibraryServersTable.tsx | 190 | export function MCPLibraryServersTableSkeleton({ rows = 8 }: { rows?: number }) { | CODE |
| LOW | …ce/mcp-registry/library/views/mcpLibraryServerCard.tsx | 226 | export function MCPLibraryServerCardSkeleton() { | CODE |
| LOW | ui/app/workspace/mcp-registry/views/mcpClientSheet.tsx | 55 | function toolSyncIntervalToMinutes(v: number | undefined | null): number { | CODE |
| LOW | ui/app/workspace/mcp-registry/views/mcpClientSheet.tsx | 64 | function toolExecutionTimeoutToSeconds(v: string | number | undefined | null): number { | CODE |
| LOW | …pp/workspace/mcp-registry/views/mcpUsageGuide/utils.ts | 68 | export function isClientAllowedForVirtualKey(client: MCPClient, virtualKey: VirtualKey): boolean { | CODE |
| LOW | …/mcpUsageGuide/harnesses/antigravityHarnessInstall.tsx | 13 | export function AntigravityHarnessInstall({ | CODE |
| LOW | ui/app/workspace/mcp-registry/oauth-callback/page.tsx | 15 | export default function MCPRegistryOAuthCallbackPage() { | CODE |
| LOW | …p/workspace/logs/sheets/observabilitySettingsSheet.tsx | 9 | export function ObservabilitySettingsSheet({ open, onOpenChange }: ObservabilitySettingsSheetProps) { | CODE |
| LOW | ui/app/workspace/logs/views/logsHeaderView.tsx | 343 | function parseRecalculateCostStreamError(data: string): Error { | CODE |
| LOW | ui/app/workspace/logs/views/columns.tsx | 44 | function getAssistantToolCallSummary(log?: LogEntry): string { | CODE |
| LOW | ui/app/workspace/governance/business-units/page.tsx | 3 | export default function GovernanceBusinessUnitsPage() { | CODE |
| LOW | ui/app/workspace/governance/virtual-keys/page.tsx | 14 | export default function GovernanceVirtualKeysPage() { | CODE |
| LOW | ui/app/workspace/mcp-sessions/auth-success/page.tsx | 3 | export default function MCPSessionsAuthSuccessPage() { | CODE |
| LOW | ui/app/workspace/mcp-sessions/auth-failed/page.tsx | 4 | export default function MCPSessionsAuthFailedPage() { | CODE |
| LOW | ui/components/devProfiler.tsx | 85 | function loadSkippedGoroutineFiles(): Set<string> { | CODE |
| LOW | ui/components/devProfiler.tsx | 96 | function saveSkippedGoroutineFiles(skipped: Set<string>): void { | CODE |
| LOW | ui/lib/message/variables.ts | 26 | export function extractVariablesFromMessages(messages: Message[]): string[] { | CODE |
| LOW | ui/lib/message/variables.ts | 56 | export function replaceVariablesInMessages(messages: Message[], variables: VariableMap): Message[] { | CODE |
| LOW | ui/lib/utils/validation.ts | 209 | export function isValidVertexAuthCredentials(value: string): boolean { | CODE |
| LOW | ui/lib/utils/celConverterRouting.ts | 332 | export function validateRateLimitAndBudgetRules(ruleGroup: RuleGroupType | undefined): string[] { | CODE |
| LOW | ui/lib/utils/routingRuleGroupQuery.ts | 20 | export function normalizeRoutingRuleGroupQuery(q: unknown): RuleGroupType { | CODE |
| LOW | ui/lib/store/apis/mcpSessionsApi.ts | 18 | function buildMCPSessionsListParams(params?: MCPSessionsQueryParams) { | CODE |
| LOW | tests/integrations/python/README.md | 1299 | def extract_your_integration_tool_calls(response) -> List[Dict[str, Any]]: | CODE |
| LOW | tests/integrations/python/README.md | 1345 | def extract_your_integration_tool_calls(response: Any) -> List[Dict[str, Any]]: | CODE |
| LOW | tests/integrations/python/README.md | 1395 | def assert_valid_chat_response(response): | CODE |
| LOW | tests/integrations/python/README.md | 1409 | def convert_to_your_integration_tools(tools: List[Dict[str, Any]]) -> List[Dict[str, Any]]: | CODE |
| LOW | tests/integrations/python/README.md | 1428 | def convert_to_your_integration_messages(messages: List[Dict[str, Any]]) -> List[Dict[str, Any]]: | CODE |
| LOW | tests/integrations/python/tests/test_anthropic.py | 138 | def get_provider_anthropic_client(provider, passthrough: bool = False): | CODE |
| LOW | tests/integrations/python/tests/test_anthropic.py | 161 | def convert_to_anthropic_messages( | CODE |
| LOW | tests/integrations/python/tests/test_anthropic.py | 211 | def convert_to_anthropic_tools(tools: List[Dict[str, Any]]) -> List[Dict[str, Any]]: | CODE |
| LOW | tests/integrations/python/tests/test_anthropic.py | 2978 | def serialize_anthropic_content(content_blocks: List[Any]) -> List[Dict[str, Any]]: | CODE |
| LOW | tests/integrations/python/tests/test_anthropic.py | 3006 | def extract_anthropic_tool_calls(response: Any) -> List[Dict[str, Any]]: | CODE |
| LOW | tests/integrations/python/tests/test_openai.py | 206 | def extract_openai_tool_calls(response: Any) -> list[dict[str, Any]]: | CODE |
| LOW | tests/integrations/python/tests/test_openai.py | 247 | def get_provider_openai_client(provider, vk_enabled=False): | CODE |
| LOW | tests/integrations/python/tests/test_openai.py | 313 | def _wait_for_video_terminal_status( | CODE |
| LOW | tests/integrations/python/tests/test_openai.py | 1796 | def test_chat_completion_with_file(self, test_config, provider, model, vk_enabled): | CODE |
| LOW | tests/integrations/python/tests/test_openai.py | 2605 | def test_xai_x_search_with_handles(self, openai_client, test_config): | CODE |
| 136 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | core/internal/mcptests/codemode_files_test.go | 422 | # Check if TestCodeModeServer exists and has methods | COMMENT |
| LOW | tests/integrations/python/run_integration_tests.py | 49 | # Check if test file exists | COMMENT |
| LOW | tests/integrations/python/run_integration_tests.py | 83 | # Print results | COMMENT |
| LOW | tests/integrations/python/tests/test_anthropic.py | 599 | # Check if response is approximately 5 words (allow some flexibility) | COMMENT |
| LOW | tests/integrations/python/tests/test_anthropic.py | 2582 | # Check if cache was written | COMMENT |
| LOW | tests/integrations/python/tests/test_anthropic.py | 2615 | # Check if cache was read | COMMENT |
| LOW | tests/integrations/python/tests/test_anthropic.py | 3433 | # Check if compaction triggered a pause | COMMENT |
| LOW | tests/integrations/python/tests/test_anthropic.py | 3563 | # Check if compaction occurred | COMMENT |
| LOW | tests/integrations/python/tests/test_openai.py | 684 | # Check if response is approximately 5 words (allow some flexibility) | COMMENT |
| LOW | tests/integrations/python/tests/test_openai.py | 2346 | # Check if we have a reasoning message type | COMMENT |
| LOW | tests/integrations/python/tests/test_langchain.py | 1305 | # Check if usage metadata is available (Gemini-specific) | COMMENT |
| LOW | tests/integrations/python/tests/test_bedrock.py | 471 | # Check if response has content | COMMENT |
| LOW | tests/integrations/python/tests/test_bedrock.py | 785 | # Check if response has content | COMMENT |
| LOW | tests/integrations/python/tests/test_bedrock.py | 910 | # Check if response is approximately 5 words (allow some flexibility) | COMMENT |
| LOW | tests/integrations/python/tests/test_azure.py | 568 | # Check if response is approximately 5 words (allow some flexibility) | COMMENT |
| LOW | tests/integrations/python/tests/test_azure.py | 1545 | # Check if we have a reasoning message type | COMMENT |
| LOW | tests/integrations/python/tests/test_google.py | 606 | # Check if function call was made (Google GenAI might return function calls) | COMMENT |
| LOW | tests/integrations/python/tests/test_google.py | 630 | # Check if function calls were made | COMMENT |
| LOW | tests/integrations/python/tests/test_google.py | 655 | # Check if function call was made | COMMENT |
| LOW | tests/integrations/python/tests/test_google.py | 693 | # Check if function calls were made | COMMENT |
| LOW⚡ | tests/integrations/python/tests/utils/common.py | 3410 | # Check if domain matches any blocked pattern | COMMENT |
| LOW | tests/integrations/python/tests/utils/common.py | 1514 | # Check if it's an OpenAI-style response object | COMMENT |
| LOW | tests/integrations/python/tests/utils/common.py | 1530 | # Check if usage information is present | COMMENT |
| LOW | tests/integrations/python/tests/utils/common.py | 1548 | # Check if it's a direct list (embedding vector) | COMMENT |
| LOW | tests/integrations/python/tests/utils/common.py | 1570 | # Check if it's an OpenAI-style response object | COMMENT |
| LOW | tests/integrations/python/tests/utils/common.py | 1600 | # Check if it's a direct list of embeddings | COMMENT |
| LOW | tests/integrations/python/tests/utils/common.py | 2710 | # Check if this is a LangChain AIMessage object | COMMENT |
| LOW | tests/integrations/python/tests/utils/common.py | 2752 | # Check if we have a reasoning message type | COMMENT |
| LOW | tests/integrations/python/tests/utils/common.py | 3395 | # Check if domain matches any allowed pattern | COMMENT |
| LOW | tests/e2e/api/setup-mcp.sh | 14 | # Check if MCP server is already listening on 3001 (e.g. from a previous run) | COMMENT |
| LOW | tests/e2e/api/setup-plugin.sh | 15 | # Check if plugin source exists | COMMENT |
| LOW | tests/e2e/api/runners/run-newman-api-tests.sh | 40 | # Check if Newman is installed | COMMENT |
| LOW | tests/e2e/api/runners/run-newman-api-tests.sh | 47 | # Check if collection exists | COMMENT |
| LOW | tests/e2e/api/runners/run-newman-inference-tests.sh | 56 | # Check if Newman is installed | COMMENT |
| LOW | tests/e2e/api/runners/run-newman-inference-tests.sh | 63 | # Check if collection exists | COMMENT |
| LOW | …e/api/runners/individual/run-newman-vk-expiry-tests.sh | 69 | # Check if Newman is installed | COMMENT |
| LOW | …e/api/runners/individual/run-newman-vk-expiry-tests.sh | 76 | # Check if collection exists | COMMENT |
| LOW⚡ | …i/runners/individual/run-newman-bedrock-integration.sh | 55 | # Check if Newman is installed | COMMENT |
| LOW⚡ | …i/runners/individual/run-newman-bedrock-integration.sh | 62 | # Check if collection exists | COMMENT |
| LOW⚡ | …i/runners/individual/run-newman-bedrock-integration.sh | 68 | # Check if environment exists | COMMENT |
| LOW | …i/runners/individual/run-newman-bedrock-integration.sh | 273 | # Check if we're entering a JSON block | COMMENT |
| LOW | …i/runners/individual/run-newman-bedrock-integration.sh | 287 | # Check if we're exiting a JSON block | COMMENT |
| LOW⚡ | …pi/runners/individual/run-newman-openai-integration.sh | 57 | # Check if Newman is installed | COMMENT |
| LOW⚡ | …pi/runners/individual/run-newman-openai-integration.sh | 64 | # Check if collection exists | COMMENT |
| LOW⚡ | …pi/runners/individual/run-newman-openai-integration.sh | 70 | # Check if environment exists | COMMENT |
| LOW | …pi/runners/individual/run-newman-openai-integration.sh | 276 | # Check if we're entering a JSON block | COMMENT |
| LOW | …pi/runners/individual/run-newman-openai-integration.sh | 290 | # Check if we're exiting a JSON block | COMMENT |
| LOW⚡ | …runners/individual/run-newman-composite-integration.sh | 56 | # Check if Newman is installed | COMMENT |
| LOW⚡ | …runners/individual/run-newman-composite-integration.sh | 63 | # Check if collection exists | COMMENT |
| LOW⚡ | …runners/individual/run-newman-composite-integration.sh | 69 | # Check if environment exists | COMMENT |
| LOW | …runners/individual/run-newman-composite-integration.sh | 259 | # Check if we're entering a JSON block | COMMENT |
| LOW | …runners/individual/run-newman-composite-integration.sh | 273 | # Check if we're exiting a JSON block | COMMENT |
| LOW⚡ | …runners/individual/run-newman-anthropic-integration.sh | 55 | # Check if Newman is installed | COMMENT |
| LOW⚡ | …runners/individual/run-newman-anthropic-integration.sh | 62 | # Check if collection exists | COMMENT |
| LOW⚡ | …runners/individual/run-newman-anthropic-integration.sh | 68 | # Check if environment exists | COMMENT |
| LOW | …runners/individual/run-newman-anthropic-integration.sh | 259 | # Check if we're entering a JSON block | COMMENT |
| LOW | …runners/individual/run-newman-anthropic-integration.sh | 273 | # Check if we're exiting a JSON block | COMMENT |
| LOW | …e2e/api/runners/individual/run-newman-vk-auth-tests.sh | 76 | # Check if Newman is installed | COMMENT |
| LOW | …e2e/api/runners/individual/run-newman-vk-auth-tests.sh | 83 | # Check if collection exists | COMMENT |
| LOW | docs/openapi/bundle.py | 175 | # Check if this resolves to a registered component | COMMENT |
| 59 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/integrations/python/tests/test_anthropic.py | 0 | test case 1: simple chat interaction - runs across all available providers | STRING |
| HIGH | tests/integrations/python/tests/test_openai.py | 0 | test case 1: simple chat interaction - runs across all available providers | STRING |
| HIGH | tests/integrations/python/tests/test_google.py | 0 | test case 1: simple chat interaction - runs across all available providers | STRING |
| HIGH | tests/integrations/python/tests/test_anthropic.py | 0 | test case 4: multiple tool calls in one response - auto-skips providers without tool model | STRING |
| HIGH | tests/integrations/python/tests/test_openai.py | 0 | test case 4: multiple tool calls in one response - auto-skips providers without tool model | STRING |
| HIGH | tests/integrations/python/tests/test_google.py | 0 | test case 4: multiple tool calls in one response - auto-skips providers without tool model | STRING |
| HIGH | tests/integrations/python/tests/test_anthropic.py | 0 | test case 5: complete tool calling flow with responses | STRING |
| HIGH | tests/integrations/python/tests/test_openai.py | 0 | test case 5: complete tool calling flow with responses | STRING |
| HIGH | tests/integrations/python/tests/test_litellm.py | 0 | test case 5: complete tool calling flow with responses | STRING |
| HIGH | tests/integrations/python/tests/test_google.py | 0 | test case 5: complete tool calling flow with responses | STRING |
| HIGH | tests/integrations/python/tests/test_anthropic.py | 0 | test case 10: complex end-to-end with conversation, images, and tools | STRING |
| HIGH | tests/integrations/python/tests/test_openai.py | 0 | test case 10: complex end-to-end with conversation, images, and tools | STRING |
| HIGH | tests/integrations/python/tests/test_litellm.py | 0 | test case 10: complex end-to-end with conversation, images, and tools | STRING |
| HIGH | tests/integrations/python/tests/test_azure.py | 0 | test case 10: complex end-to-end with conversation, images, and tools | STRING |
| HIGH | tests/integrations/python/tests/test_google.py | 0 | test case 10: complex end-to-end with conversation, images, and tools | STRING |
| HIGH | …i/runners/individual/run-newman-bedrock-integration.sh | 0 | format json using jq if available, otherwise use python's json module | STRING |
| HIGH | …pi/runners/individual/run-newman-openai-integration.sh | 0 | format json using jq if available, otherwise use python's json module | STRING |
| HIGH | …runners/individual/run-newman-composite-integration.sh | 0 | format json using jq if available, otherwise use python's json module | STRING |
| HIGH | …runners/individual/run-newman-anthropic-integration.sh | 0 | format json using jq if available, otherwise use python's json module | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …re/providers/gemini/list_models_single_payload_test.go | 50 | key := schemas.Key{Value: *schemas.NewSecretVar("dummy-key")} | CODE |
| LOW | core/providers/gemini/fileupload_test.go | 29 | if got := r.Header.Get("x-goog-api-key"); got != "dummy-key" { | CODE |
| LOW | core/providers/gemini/fileupload_test.go | 109 | key := schemas.Key{Value: *schemas.NewSecretVar("dummy-key")} | CODE |
| LOW | core/providers/bedrock/bedrock_test.go | 5989 | Input: json.RawMessage(`{"name":"John Doe","age":28,"city":"Pune"}`), | CODE |
| LOW | core/providers/bedrock/bedrock_test.go | 6024 | Input: json.RawMessage(`{"name":"John Doe","age":28,"city":"Pune"}`), | CODE |
| LOW | framework/encrypt/encrypt_test.go | 41 | plaintext: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et do | CODE |
| LOW | framework/encrypt/encrypt_test.go | 41 | plaintext: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et do | CODE |
| LOW | transports/bifrost-http/lib/validator_test.go | 476 | "name": "Acme Corp" | CODE |
| LOW | transports/bifrost-http/lib/validator_test.go | 494 | "name": "Acme Corp" | CODE |
| LOW | tests/integrations/python/dummy-gcp-credentials.json | 4 | "private_key_id": "dummy-key-id-12345", | CODE |
| LOW | tests/integrations/python/tests/test_pydanticai.py | 517 | api_key="dummy-key" | CODE |
| LOW | tests/integrations/python/tests/test_langchain.py | 988 | api_key="dummy-key", # Keys managed by Bifrost | CODE |
| LOW | tests/integrations/python/tests/test_langchain.py | 1018 | api_key="dummy-key", | CODE |
| LOW | tests/integrations/python/tests/test_langchain.py | 1166 | api_key="dummy-key", | CODE |
| LOW | tests/integrations/python/tests/test_langchain.py | 1202 | api_key="dummy-key", | CODE |
| LOW | tests/integrations/python/tests/test_langchain.py | 1252 | api_key="dummy-key", | CODE |
| LOW | tests/integrations/python/tests/test_langchain.py | 1290 | api_key="dummy-key", | CODE |
| LOW | tests/integrations/python/tests/test_langchain.py | 1399 | api_key="dummy-key", | CODE |
| LOW | tests/integrations/python/tests/test_langchain.py | 1430 | api_key="dummy-key", | CODE |
| LOW | tests/integrations/python/tests/test_langchain.py | 1465 | api_key="dummy-key", | CODE |
| LOW | tests/integrations/typescript/tests/test-azure.test.ts | 129 | const apiKey = hasApiKey('azure') ? getApiKey('azure') : 'dummy-key' | CODE |
| LOW | tests/integrations/typescript/tests/test-openai.test.ts | 129 | const apiKey = hasApiKey('openai') ? getApiKey('openai') : 'dummy-key' | CODE |
| LOW | tests/integrations/typescript/tests/test-google.test.ts | 80 | const apiKey = hasApiKey('gemini') ? getApiKey('gemini') : 'dummy-key' | CODE |
| LOW | …s/integrations/typescript/tests/test-anthropic.test.ts | 102 | const apiKey = hasApiKey('anthropic') ? getApiKey('anthropic') : 'dummy-key' | CODE |
| LOW | …s/integrations/typescript/tests/test-langchain.test.ts | 53 | const apiKey = hasApiKey('openai') ? getApiKey('openai') : 'dummy-key' | CODE |
| LOW | …s/integrations/typescript/tests/test-langchain.test.ts | 70 | const apiKey = hasApiKey('anthropic') ? getApiKey('anthropic') : 'dummy-key' | CODE |
| LOW | …s/integrations/typescript/tests/test-langchain.test.ts | 84 | const apiKey = hasApiKey('gemini') ? getApiKey('gemini') : 'dummy-key' | CODE |
| LOW | …s/integrations/typescript/tests/test-langchain.test.ts | 213 | const apiKey = hasApiKey('openai') ? getApiKey('openai') : 'dummy-key' | CODE |
| LOW | …s/integrations/typescript/tests/test-langchain.test.ts | 383 | const apiKey = hasApiKey('anthropic') ? getApiKey('anthropic') : 'dummy-key' | CODE |
| LOW | …s/integrations/typescript/tests/test-langchain.test.ts | 726 | const apiKey = hasApiKey('openai') ? getApiKey('openai') : 'dummy-key' | CODE |
| LOW | …s/integrations/typescript/tests/test-langchain.test.ts | 768 | const apiKey = hasApiKey('anthropic') ? getApiKey('anthropic') : 'dummy-key' | CODE |
| LOW | …s/integrations/typescript/tests/test-langchain.test.ts | 808 | const apiKey = hasApiKey('gemini') ? getApiKey('gemini') : 'dummy-key' | CODE |
| LOW⚡ | tests/governance/providerbudget_test.go | 75 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " + | CODE |
| LOW⚡ | tests/governance/providerbudget_test.go | 75 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " + | CODE |
| LOW⚡ | tests/governance/providerbudget_test.go | 81 | "Mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. " + | CODE |
| LOW⚡ | tests/governance/providerbudget_test.go | 81 | "Mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. " + | CODE |
| LOW⚡ | tests/governance/providerbudget_test.go | 165 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " + | CODE |
| LOW⚡ | tests/governance/providerbudget_test.go | 165 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " + | CODE |
| LOW⚡ | tests/governance/providerbudget_test.go | 171 | "Mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. " + | CODE |
| LOW⚡ | tests/governance/providerbudget_test.go | 171 | "Mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. " + | CODE |
| LOW⚡ | tests/governance/teambudget_test.go | 84 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " + | CODE |
| LOW⚡ | tests/governance/teambudget_test.go | 84 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " + | CODE |
| LOW⚡ | tests/governance/teambudget_test.go | 90 | "Mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. " + | CODE |
| LOW⚡ | tests/governance/teambudget_test.go | 90 | "Mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. " + | CODE |
| LOW⚡ | tests/governance/customerbudget_test.go | 84 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " + | CODE |
| LOW⚡ | tests/governance/customerbudget_test.go | 84 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " + | CODE |
| LOW⚡ | tests/governance/customerbudget_test.go | 90 | "Mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. " + | CODE |
| LOW⚡ | tests/governance/customerbudget_test.go | 90 | "Mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. " + | CODE |
| LOW⚡ | tests/governance/customerbudget_test.go | 260 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " + | CODE |
| LOW⚡ | tests/governance/customerbudget_test.go | 260 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " + | CODE |
| LOW⚡ | tests/governance/customerbudget_test.go | 266 | "Mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. " + | CODE |
| LOW⚡ | tests/governance/customerbudget_test.go | 266 | "Mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. " + | CODE |
| LOW⚡ | tests/governance/edgecases_test.go | 115 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " + | CODE |
| LOW⚡ | tests/governance/edgecases_test.go | 115 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " + | CODE |
| LOW⚡ | tests/governance/edgecases_test.go | 121 | "Mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. " + | CODE |
| LOW⚡ | tests/governance/edgecases_test.go | 121 | "Mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. " + | CODE |
| LOW⚡ | tests/governance/vkbudget_test.go | 56 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " + | CODE |
| LOW⚡ | tests/governance/vkbudget_test.go | 56 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " + | CODE |
| LOW⚡ | tests/governance/vkbudget_test.go | 62 | "Mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. " + | CODE |
| LOW⚡ | tests/governance/vkbudget_test.go | 62 | "Mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. " + | CODE |
| 14 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | AGENTS.md | 46 | │ │ ├── agent.go # Agent orchestration loop (multi-turn tool calling) | CODE |
| MEDIUM | AGENTS.md | 266 | ├── <name>.go # Controller: constructor, interface methods, HTTP orchestration | CODE |
| MEDIUM | …/components/guardrails/guardrailsConfigurationView.tsx | 12 | readmeLink="https://docs.getbifrost.ai/enterprise/guardrails" | CODE |
| MEDIUM | …prise/components/guardrails/guardrailsProviderView.tsx | 12 | readmeLink="https://docs.getbifrost.ai/enterprise/guardrails" | CODE |
| MEDIUM | core/providers/bedrock/types.go | 192 | GuardContent *BedrockGuardContent `json:"guardContent,omitempty"` // Guard content for guardrails | CODE |
| MEDIUM | core/providers/bedrock/types.go | 216 | // Guard content (for guardrails) | COMMENT |
| MEDIUM | core/providers/bedrock/types.go | 330 | // BedrockGuardContent represents guard content for guardrails | COMMENT |
| MEDIUM | core/providers/bedrock/types.go | 344 | // BedrockGuardContentText represents text content for guardrails | COMMENT |
| MEDIUM | core/providers/anthropic/types.go | 290 | // AnthropicTaskBudget represents an advisory token budget for a full agentic loop (output_config.task_budget). | COMMENT |
| MEDIUM | core/providers/anthropic/types.go | 296 | Total int `json:"total"` // total advisory token budget across the agentic loop | CODE |
| MEDIUM | core/providers/anthropic/types.go | 954 | // AnthropicToolCallerType identifies which agentic caller produced a tool | COMMENT |
| MEDIUM | core/network/http.go | 30 | // ClientPurposeAPI is used for general API requests (guardrails, etc.) | COMMENT |
| MEDIUM | core/schemas/responses.go | 1485 | // server_tool_use / *_tool_result blocks. It links a tool call to the agentic | COMMENT |
| MEDIUM | core/schemas/responses.go | 1547 | // Caller links this call to the agentic caller that produced it (programmatic | COMMENT |
| MEDIUM | core/schemas/redaction.go | 19 | // RedactionData carries request-scoped redaction data from guardrails to log and trace sinks. | COMMENT |
| MEDIUM | core/schemas/bifrost.go | 329 | BifrostContextKeyRedactionData BifrostContextKey = "bifrost-redaction-data" | CODE |
| MEDIUM | tests/integrations/python/config.yml | 834 | max_tokens: 32000 # 32k token context window for TTS | CODE |
| MEDIUM | tests/integrations/python/config.yml | 848 | max_tokens: 32000 # 32k token context window for TTS | CODE |
| MEDIUM | tests/integrations/python/tests/test_anthropic.py | 727 | max_tokens=4000, # Reduced to prevent token limit errors for smaller context window models | CODE |
| MEDIUM | tests/integrations/typescript/config.yml | 834 | max_tokens: 32000 # 32k token context window for TTS | CODE |
| MEDIUM | tests/integrations/typescript/config.yml | 848 | max_tokens: 32000 # 32k token context window for TTS | CODE |
| MEDIUM | examples/k8s/enterprise/values-guardrails.yaml | 1 | # Enterprise overlay: guardrails documentation sample. | COMMENT |
| MEDIUM | examples/k8s/enterprise/values-guardrails.yaml | 96 | endpoint: "https://example-guardrails.cognitiveservices.azure.com/" | CODE |
| MEDIUM | examples/k8s/enterprise/values-guardrails.yaml | 112 | endpoint: "https://example-guardrails.cognitiveservices.azure.com/" | CODE |
| MEDIUM | examples/k8s/enterprise/values-guardrails.yaml | 130 | endpoint: "https://example-guardrails.cognitiveservices.azure.com/" | CODE |
| MEDIUM | examples/k8s/enterprise/values-guardrails.yaml | 224 | endpoint: "https://example-guardrails.cognitiveservices.azure.com/" | CODE |
| MEDIUM | examples/k8s/enterprise/README.md | 34 | ## Add enterprise guardrails overlay | COMMENT |
| MEDIUM | …s/bifrost-migration-cli/scripts/create_virtual_keys.sh | 245 | # --- Case 26: guardrails --------------------------------------------------- | COMMENT |
| MEDIUM | scripts/bifrost-migration-cli/scripts/create_teams.sh | 211 | # --- Case 18: guardrails (enterprise) -------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | core/mcp/codemode/starlark/getdocs.go | 153 | sb.WriteString("# This file contains Python documentation for a specific tool on this MCP server.\n") | CODE |
| MEDIUM | core/mcp/codemode/starlark/getdocs.go | 155 | sb.WriteString("# This file contains Python documentation for all tools available on this MCP server.\n") | CODE |
| MEDIUM | tests/integrations/python/tests/test_pydanticai.py | 390 | # Define a tool that we'll manually execute | COMMENT |
| MEDIUM | tests/integrations/python/tests/test_bedrock.py | 1509 | # Create a job to cancel | COMMENT |
| MEDIUM | tests/integrations/python/tests/test_google.py | 259 | # Create a function declaration dictionary with lowercase types | COMMENT |
| MEDIUM | tests/integrations/python/tests/test_google.py | 276 | # Create a Tool object containing the function declaration | COMMENT |
| MEDIUM | tests/integrations/python/tests/test_google.py | 311 | # Create a white background | COMMENT |
| MEDIUM | tests/integrations/python/tests/test_google.py | 1950 | # Define a Pydantic model for structured output | COMMENT |
| MEDIUM | tests/integrations/python/tests/utils/common.py | 51 | # Create a simple red image | COMMENT |
| MEDIUM | examples/k8s/enterprise/values-scim.yaml | 2 | # This file is SAFE-BY-DEFAULT (scim.enabled=false) so placeholder values | COMMENT |
| MEDIUM | .github/workflows/scripts/test-bifrost-http.sh | 181 | # Create a temporary log file for server output | COMMENT |
| MEDIUM | …-charts/bifrost/values-examples/postgres-weaviate.yaml | 61 | # Create the secret with: kubectl create secret generic bifrost-semantic-cache --from-literal=openai-key=sk-YOUR_O | COMMENT |
| MEDIUM | helm-charts/bifrost/values-examples/production-ha.yaml | 91 | # Create the secret with: kubectl create secret generic bifrost-encryption --from-literal=key=YOUR_ENCRYPTION_KEY | COMMENT |
| MEDIUM | helm-charts/bifrost/values-examples/production-ha.yaml | 119 | # Create the secret with: kubectl create secret generic bifrost-semantic-cache --from-literal=openai-key=sk-YOUR_O | COMMENT |
| MEDIUM | helm-charts/bifrost/values-examples/sqlite-qdrant.yaml | 48 | # Create the secret with: kubectl create secret generic bifrost-semantic-cache --from-literal=openai-key=sk-YOUR_O | COMMENT |
| MEDIUM | …lm-charts/bifrost/values-examples/postgres-qdrant.yaml | 69 | # Create the secret with: kubectl create secret generic bifrost-semantic-cache --from-literal=openai-key=sk-YOUR_O | COMMENT |
| MEDIUM | …lm-charts/bifrost/values-examples/sqlite-weaviate.yaml | 49 | # Create the secret with: kubectl create secret generic bifrost-semantic-cache --from-literal=openai-key=sk-YOUR_O | COMMENT |
| MEDIUM | helm-charts/bifrost/values-examples/sqlite-redis.yaml | 62 | # Create the secret with: kubectl create secret generic bifrost-semantic-cache --from-literal=openai-key=sk-YOUR_O | COMMENT |
| MEDIUM | helm-charts/bifrost/values-examples/postgres-redis.yaml | 64 | # Create the secret with: kubectl create secret generic bifrost-semantic-cache --from-literal=openai-key=sk-YOUR_O | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/integrations/python/run_all_tests.py | 210 | CODE | |
| LOW | tests/integrations/python/tests/test_anthropic.py | 161 | CODE | |
| LOW | tests/integrations/python/tests/test_anthropic.py | 2978 | CODE | |
| LOW | tests/integrations/python/tests/test_anthropic.py | 3006 | CODE | |
| LOW | tests/integrations/python/tests/test_anthropic.py | 502 | CODE | |
| LOW | tests/integrations/python/tests/test_anthropic.py | 718 | CODE | |
| LOW | tests/integrations/python/tests/test_anthropic.py | 794 | CODE | |
| LOW | tests/integrations/python/tests/test_anthropic.py | 1905 | CODE | |
| LOW | tests/integrations/python/tests/test_anthropic.py | 2092 | CODE | |
| LOW | tests/integrations/python/tests/test_anthropic.py | 2172 | CODE | |
| LOW | tests/integrations/python/tests/test_anthropic.py | 2297 | CODE | |
| LOW | tests/integrations/python/tests/test_anthropic.py | 2351 | CODE | |
| LOW | tests/integrations/python/tests/test_anthropic.py | 2460 | CODE | |
| LOW | tests/integrations/python/tests/test_anthropic.py | 2507 | CODE | |
| LOW | tests/integrations/python/tests/test_anthropic.py | 2626 | CODE | |
| LOW | tests/integrations/python/tests/test_anthropic.py | 2674 | CODE | |
| LOW | tests/integrations/python/tests/test_anthropic.py | 2725 | CODE | |
| LOW | tests/integrations/python/tests/test_anthropic.py | 3206 | CODE | |
| LOW | tests/integrations/python/tests/test_anthropic.py | 3314 | CODE | |
| LOW | tests/integrations/python/tests/test_anthropic.py | 3674 | CODE | |
| LOW | tests/integrations/python/tests/test_anthropic.py | 3943 | CODE | |
| LOW | tests/integrations/python/tests/test_openai.py | 1842 | CODE | |
| LOW | tests/integrations/python/tests/test_openai.py | 1889 | CODE | |
| LOW | tests/integrations/python/tests/test_openai.py | 1925 | CODE | |
| LOW | tests/integrations/python/tests/test_openai.py | 1972 | CODE | |
| LOW | tests/integrations/python/tests/test_openai.py | 2179 | CODE | |
| LOW | tests/integrations/python/tests/test_openai.py | 2318 | CODE | |
| LOW | tests/integrations/python/tests/test_openai.py | 2565 | CODE | |
| LOW | tests/integrations/python/tests/test_openai.py | 2634 | CODE | |
| LOW | tests/integrations/python/tests/test_openai.py | 3128 | CODE | |
| LOW | tests/integrations/python/tests/test_openai.py | 3325 | CODE | |
| LOW | tests/integrations/python/tests/test_openai.py | 3494 | CODE | |
| LOW | tests/integrations/python/tests/test_openai.py | 3651 | CODE | |
| LOW | tests/integrations/python/tests/test_openai.py | 3984 | CODE | |
| LOW | tests/integrations/python/tests/test_openai.py | 4102 | CODE | |
| LOW | tests/integrations/python/tests/test_openai.py | 4250 | CODE | |
| LOW | tests/integrations/python/tests/test_openai.py | 4305 | CODE | |
| LOW | tests/integrations/python/tests/test_openai.py | 4358 | CODE | |
| LOW | tests/integrations/python/tests/conftest.py | 32 | CODE | |
| LOW | tests/integrations/python/tests/conftest.py | 92 | CODE | |
| LOW | tests/integrations/python/tests/test_pydanticai.py | 187 | CODE | |
| LOW | tests/integrations/python/tests/test_langchain.py | 1040 | CODE | |
| LOW | tests/integrations/python/tests/test_langchain.py | 1195 | CODE | |
| LOW | tests/integrations/python/tests/test_langchain.py | 1282 | CODE | |
| LOW | tests/integrations/python/tests/test_bedrock.py | 288 | CODE | |
| LOW | tests/integrations/python/tests/test_bedrock.py | 569 | CODE | |
| LOW | tests/integrations/python/tests/test_bedrock.py | 666 | CODE | |
| LOW | tests/integrations/python/tests/test_bedrock.py | 3009 | CODE | |
| LOW | tests/integrations/python/tests/test_bedrock.py | 3191 | CODE | |
| LOW | tests/integrations/python/tests/test_azure.py | 1239 | CODE | |
| LOW | tests/integrations/python/tests/test_azure.py | 1278 | CODE | |
| LOW | tests/integrations/python/tests/test_azure.py | 1316 | CODE | |
| LOW | tests/integrations/python/tests/test_azure.py | 1515 | CODE | |
| LOW | tests/integrations/python/tests/test_google.py | 235 | CODE | |
| LOW | tests/integrations/python/tests/test_google.py | 364 | CODE | |
| LOW | tests/integrations/python/tests/test_google.py | 977 | CODE | |
| LOW | tests/integrations/python/tests/test_google.py | 1420 | CODE | |
| LOW | tests/integrations/python/tests/test_google.py | 2298 | CODE | |
| LOW | tests/integrations/python/tests/test_google.py | 3440 | CODE | |
| LOW | tests/integrations/python/tests/utils/config_loader.py | 90 | CODE | |
| 30 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | ui/app/workspace/logs/views/logsVolumeChart.tsx | 264 | // This is more robust than exact timestamp matching | COMMENT |
| MEDIUM | core/providers/gemini/types.go | 709 | // Live API, if `store_context` bool is specified, Gemini will leverage it to automatically | COMMENT |
| MEDIUM | core/providers/openai/openai.go | 3492 | // Determine image index with robust tracking for interleaved chunks | COMMENT |
| MEDIUM | core/providers/openai/openai.go | 4978 | // Determine image index with robust tracking for interleaved chunks | COMMENT |
| MEDIUM | core/network/http.go | 275 | // RetryIfErr normally sees raw io.EOF; we match both to stay robust across versions. | COMMENT |
| MEDIUM | core/internal/llmtests/test_retry_conditions.go | 37 | // Check for textual content using the already robust GetResultContent function | COMMENT |
| MEDIUM | core/schemas/plugin.go | 206 | // Plugin authors should ensure their hooks are robust to both response and error being nil, and should not assume eithe | COMMENT |
| MEDIUM | framework/logstore/rdb.go | 230 | // Use array overlap operator which can leverage the GIN index on | COMMENT |
| MEDIUM | framework/logstore/rdb.go | 345 | // Use @> containment operator to leverage GIN index on metadata::jsonb. | COMMENT |
| MEDIUM | plugins/semanticcache/plugin_embedding_test.go | 182 | // minimum margin that's robust to seconds-level rounding + a slow CI. | COMMENT |
| MEDIUM | transports/bifrost-http/.air.debug.toml | 29 | # Run binary via delve debugger in headless mode on port 2345 | COMMENT |
| MEDIUM | tests/integrations/python/tests/test_google.py | 3630 | # Generate one source image and reuse it to keep test robust/lightweight. | COMMENT |
| MEDIUM | tests/e2e/features/dashboard/pages/dashboard.page.ts | 36 | // Chart cards - using data-testid for robust selectors | COMMENT |
| MEDIUM | scripts/bifrost-migration-cli/scripts/seed_models.sh | 3 | # seed_models.sh - seed the comprehensive model fixture into a running LiteLLM | COMMENT |
| MEDIUM | .github/workflows/scripts/create-docker-manifest.sh | 21 | # is robust to buildx changing the layout. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/integrations/python/run_all_tests.py | 23 | CODE | |
| LOW | tests/integrations/python/run_all_tests.py | 23 | CODE | |
| LOW | tests/integrations/python/tests/test_openai.py | 101 | CODE | |
| LOW | tests/integrations/python/tests/test_pydanticai.py | 41 | CODE | |
| LOW | tests/integrations/python/tests/test_pydanticai.py | 41 | CODE | |
| LOW | tests/integrations/python/tests/test_pydanticai.py | 81 | CODE | |
| LOW | tests/integrations/python/tests/test_pydanticai.py | 81 | CODE | |
| LOW | tests/integrations/python/tests/test_pydanticai.py | 81 | CODE | |
| LOW | tests/integrations/python/tests/test_pydanticai.py | 81 | CODE | |
| LOW | tests/integrations/python/tests/test_pydanticai.py | 81 | CODE | |
| LOW | tests/integrations/python/tests/test_pydanticai.py | 81 | CODE | |
| LOW | tests/integrations/python/tests/test_pydanticai.py | 81 | CODE | |
| LOW | tests/integrations/python/tests/test_pydanticai.py | 81 | CODE | |
| LOW | tests/integrations/python/tests/test_pydanticai.py | 81 | CODE | |
| LOW | tests/integrations/python/tests/test_pydanticai.py | 81 | CODE | |
| LOW | tests/integrations/python/tests/test_pydanticai.py | 96 | CODE | |
| LOW | tests/integrations/python/tests/test_pydanticai.py | 97 | CODE | |
| LOW | tests/integrations/python/tests/test_langchain.py | 56 | CODE | |
| LOW | tests/integrations/python/tests/test_langchain.py | 56 | CODE | |
| LOW | tests/integrations/python/tests/test_langchain.py | 59 | CODE | |
| LOW | tests/integrations/python/tests/test_langchain.py | 113 | CODE | |
| LOW | tests/integrations/python/tests/test_litellm.py | 40 | CODE | |
| LOW | tests/integrations/python/tests/test_litellm.py | 40 | CODE | |
| LOW | tests/integrations/python/tests/test_litellm.py | 40 | CODE | |
| LOW | tests/integrations/python/tests/test_litellm.py | 40 | CODE | |
| LOW | tests/integrations/python/tests/test_litellm.py | 40 | CODE | |
| LOW | tests/integrations/python/tests/test_litellm.py | 89 | CODE | |
| LOW | tests/integrations/python/tests/test_litellm.py | 112 | CODE | |
| LOW | tests/integrations/python/tests/test_azure.py | 76 | CODE | |
| LOW | tests/integrations/python/tests/test_azure.py | 76 | CODE | |
| LOW | tests/integrations/python/tests/test_google.py | 72 | CODE | |
| LOW | tests/integrations/python/tests/test_google.py | 72 | CODE | |
| LOW | tests/integrations/python/tests/test_google.py | 72 | CODE | |
| LOW | tests/integrations/python/tests/utils/parametrize.py | 8 | CODE | |
| LOW | docs/openapi/bundle.py | 32 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | ui/app/workspace/mcp-logs/views/emptyState.tsx | 126 | print(final_response.choices[0].message.content)`, | CODE |
| HIGH | ui/app/workspace/mcp-logs/views/emptyState.tsx | 200 | print(response.choices[0].message.content) | CODE |
| HIGH | ui/app/workspace/mcp-logs/views/emptyState.tsx | 204 | print("Pending tools requiring approval:", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | plugins/telemetry/docker-compose.pushgateway.yml | 3 | # Usage: | COMMENT |
| LOW | transports/bifrost-http/main.go | 30 | // Example usage: | COMMENT |
| LOW | recipes/values-local-k8s.yaml | 4 | # Usage: | COMMENT |
| LOW | …ripts/bifrost-migration-cli/scripts/delete_entities.sh | 11 | # Usage: | COMMENT |
| LOW | …s/bifrost-migration-cli/scripts/create_virtual_keys.sh | 5 | # Usage: | COMMENT |
| LOW | …frost-migration-cli/scripts/delete_bifrost_entities.sh | 12 | # Usage: | COMMENT |
| LOW | scripts/bifrost-migration-cli/scripts/create_teams.sh | 5 | # Usage: | COMMENT |
| LOW | …/bifrost-migration-cli/scripts/create_organizations.sh | 5 | # Usage: | COMMENT |
| LOW | scripts/bifrost-migration-cli/scripts/seed_models.sh | 9 | # Usage: | COMMENT |
| LOW | .github/workflows/scripts/test-e2e-api.sh | 5 | # Usage: | COMMENT |
| LOW | …ost/values-examples/semantic-cache-secret-example.yaml | 6 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | core/internal/mcptests/fixtures.go | 772 | // Return the error as requested | COMMENT |
| HIGH | core/internal/llmtests/image_generation.go | 129 | // Validate dimensions are 1024x1024 as requested | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/integrations/python/tests/test_pydanticai.py | 188 | Factory function to create a Pydantic AI model for a given provider. This is the cross-provider equivalent | STRING |
| HIGH | tests/integrations/python/tests/utils/config_loader.py | 115 | Get the complete URL for a integration Args: integration: Integration name (openai, anthropic, goog | STRING |
| HIGH | tests/integrations/python/tests/utils/common.py | 687 | Safely evaluate arithmetic expressions using AST parsing. Only allows basic arithmetic operations: +, -, *, /, | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | tests/integrations/python/README.md | 1370 | export YOUR_INTEGRATION_API_KEY="your-api-key" | CODE |
| HIGH | tests/integrations/typescript/README.md | 195 | apiKey: 'your-api-key', | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | core/internal/llmtests/test_retry_conditions.go | 448 | "as a language model", | CODE |
| MEDIUM | core/internal/llmtests/test_retry_conditions.go | 1124 | "as a language model", | CODE |
| LOW | plugins/telemetry/prometheus.yml | 8 | # Make sure to replace "bifrost-api" and "8080" with your actual docker container name and port if different | COMMENT |