AI-Powered Code Review and Discussion Bot

514ed1db-c721-4a62-8adb-ac3cb093c60a

Latency
26465ms
Cost
$0.0001
Tokens
57
Status
partial
gemini-2.5-flash

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "timestamp": 1783446053344
  },
  {
    "data": {
      "kind": "n8n-nodes-base.webhook"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1783446053344
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "timestamp": 1783446053344
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "timestamp": 1783446053344
  },
  {
    "event": "console.log: diff --git a/src/utils.js b/src/utils.js",
    "nodeId": "code",
    "timestamp": 1783446053345
  },
  {
    "event": "console.log: index 1234567..abcdef0 100644",
    "nodeId": "code",
    "timestamp": 1783446053345
  },
  {
    "event": "console.log: --- a/src/utils.js",
    "nodeId": "code",
    "timestamp": 1783446053345
  },
  {
    "event": "console.log: +++ b/src/utils.js",
    "nodeId": "code",
    "timestamp": 1783446053345
  },
  {
    "event": "console.log: @@ -1,5 +1,6 @@",
    "nodeId": "code",
    "timestamp": 1783446053345
  },
  {
    "event": "console.log:  function greet(name) {",
    "nodeId": "code",
    "timestamp": 1783446053345
  },
  {
    "event": "console.log: -  return 'Hello ' + name;",
    "nodeId": "code",
    "timestamp": 1783446053345
  },
  {
    "event": "console.log: +  // This function greets the user.",
    "nodeId": "code",
    "timestamp": 1783446053345
  },
  {
    "event": "console.log: +  return `Hello, ${name}!`;",
    "nodeId": "code",
    "timestamp": 1783446053345
  },
  {
    "event": "console.log:  }",
    "nodeId": "code",
    "timestamp": 1783446053345
  },
  {
    "event": "console.log: ",
    "nodeId": "code",
    "timestamp": 1783446053345
  },
  {
    "event": "console.log:  function add(a, b) {",
    "nodeId": "code",
    "timestamp": 1783446053345
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "timestamp": 1783446053345
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "timestamp": 1783446053346
  },
  {
    "data": {
      "count": 1
    },
    "event": "splitOut",
    "nodeId": "passthrough",
    "timestamp": 1783446053346
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "timestamp": 1783446053346
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "timestamp": 1783446053347
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783446053347
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783446053347
  },
  {
    "data": {
      "error": "Google Gemini API error (500): {\n  \"error\": {\n    \"code\": 500,\n    \"message\": \"An internal error has occurred. Please retry or report in https://developers.generativeai.google/guide/troubleshooting\",\n    \"status\": \"INTERNAL\"\n  }\n}\n",
      "status": "error",
      "degraded": true,
      "nodeType": "llm"
    },
    "event": "node_end",
    "timestamp": 1783446079232
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "timestamp": 1783446079234
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 0,
      "operation": "fixture",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783446079234
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "timestamp": 1783446079234
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "timestamp": 1783446079236
  },
  {
    "event": "false branch",
    "nodeId": "if",
    "timestamp": 1783446079236
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "timestamp": 1783446079236
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "timestamp": 1783446079236
  },
  {
    "event": "execution error (simulated): Cannot read properties of undefined (reading 'replace')",
    "nodeId": "code",
    "timestamp": 1783446079237
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "code",
      "latencyMs": 0,
      "operation": "exec-failed",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783446079237
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "timestamp": 1783446079237
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "timestamp": 1783446079239
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 0,
      "operation": "fixture",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783446079239
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "timestamp": 1783446079239
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "timestamp": 1783446079240
  },
  {
    "event": "false branch",
    "nodeId": "if",
    "timestamp": 1783446079240
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "timestamp": 1783446079240
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "timestamp": 1783446079241
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783446079241
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783446079241
  },
  {
    "data": {
      "model": "gemini-2.5-flash",
      "costUsd": 0.0000699,
      "provider": "openai",
      "latencyMs": 568,
      "promptTokens": 33,
      "completionTokens": 24
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783446079809
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "timestamp": 1783446079809
  }
]