AI-Powered Code Review and Discussion Bot

f9c8fc12-4486-4042-85b2-a3437679f14b

Latency
7034ms
Cost
$0.0020
Tokens
844
Status
partial
gemini-3-flash-preview

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "timestamp": 1780739883486
  },
  {
    "data": {
      "kind": "n8n-nodes-base.webhook"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1780739883486
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "timestamp": 1780739883486
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "timestamp": 1780739883486
  },
  {
    "event": "execution error: Cannot read properties of undefined (reading 'trimEnd')",
    "nodeId": "code",
    "timestamp": 1780739883490
  },
  {
    "data": {
      "error": "Code node execution failed: Cannot read properties of undefined (reading 'trimEnd')",
      "status": "error",
      "degraded": true,
      "nodeType": "code"
    },
    "event": "node_end",
    "timestamp": 1780739883491
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "timestamp": 1780739883494
  },
  {
    "data": {
      "count": 1
    },
    "event": "splitOut",
    "nodeId": "passthrough",
    "timestamp": 1780739883494
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "timestamp": 1780739883494
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "timestamp": 1780739883496
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1780739883496
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780739883496
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0016953,
      "provider": "openai",
      "latencyMs": 4372,
      "promptTokens": 1,
      "completionTokens": 678
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1780739887870
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "timestamp": 1780739887870
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "timestamp": 1780739887873
  },
  {
    "event": "fetching GET https://gitlab.com/api/v4/projects//merge_requests//changes",
    "nodeId": "http",
    "timestamp": 1780739887873
  },
  {
    "data": {
      "url": "https://gitlab.com/api/v4/projects//merge_requests//changes",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780739887873
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "timestamp": 1780739888189
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "timestamp": 1780739888194
  },
  {
    "event": "false branch",
    "nodeId": "if",
    "timestamp": 1780739888194
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "timestamp": 1780739888194
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "timestamp": 1780739888194
  },
  {
    "event": "execution error: Cannot read properties of undefined (reading 'replace')",
    "nodeId": "code",
    "timestamp": 1780739888198
  },
  {
    "data": {
      "error": "Code node execution failed: Cannot read properties of undefined (reading 'replace')",
      "status": "error",
      "degraded": true,
      "nodeType": "code"
    },
    "event": "node_end",
    "timestamp": 1780739888198
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "timestamp": 1780739888202
  },
  {
    "event": "fetching POST https://gitlab.com/api/v4/projects//merge_requests//discussions",
    "nodeId": "http",
    "timestamp": 1780739888202
  },
  {
    "data": {
      "url": "https://gitlab.com/api/v4/projects//merge_requests//discussions",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780739888202
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "timestamp": 1780739888569
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "timestamp": 1780739888574
  },
  {
    "event": "false branch",
    "nodeId": "if",
    "timestamp": 1780739888574
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "timestamp": 1780739888574
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "timestamp": 1780739888580
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1780739888580
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780739888580
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.00033989999999999997,
      "provider": "openai",
      "latencyMs": 1938,
      "promptTokens": 33,
      "completionTokens": 132
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1780739890520
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "timestamp": 1780739890520
  }
]