Structured Two-Step Pull Request Summarization

a97d6a00-cd86-48b3-a16e-d98f556234b0

Latency
2046ms
Cost
$0.0004
Tokens
339
Status
success
gemini-3-flash-preview

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "manualTrigger"
    },
    "event": "node_start",
    "nodeId": "t",
    "timestamp": 1783470775548
  },
  {
    "data": {
      "initialData": {
        "diff": "diff --git a/README.md b/README.md\nindex abcdef1..2345678 100644\n--- a/README.md\n+++ b/README.md\n@@ -1,3 +1,5 @@\n # My Awesome Project\n \n This is a great project that does amazing things.\n+\n+Added a new feature to improve performance.\n",
        "text": "This commit introduces a new feature to improve the performance of the project. The changes are primarily in the README.md file, where a new line has been added to describe this enhancement."
      }
    },
    "event": "triggered",
    "nodeId": "manualTrigger",
    "timestamp": 1783470775548
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "manualTrigger"
    },
    "event": "node_end",
    "nodeId": "t",
    "timestamp": 1783470775548
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "facts",
    "timestamp": 1783470775551
  },
  {
    "data": {
      "messages": 2,
      "maxTokens": 400
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783470775551
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783470775551
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0002481,
      "provider": "openai",
      "latencyMs": 1033,
      "promptTokens": 102,
      "completionTokens": 87
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783470776585
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "facts",
    "timestamp": 1783470776585
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "sum",
    "timestamp": 1783470776591
  },
  {
    "data": {
      "messages": 2,
      "maxTokens": 400
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783470776591
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783470776591
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.00013519999999999998,
      "provider": "openai",
      "latencyMs": 1002,
      "promptTokens": 109,
      "completionTokens": 41
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783470777594
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "sum",
    "timestamp": 1783470777594
  }
]