Structured Two-Step Pull Request Summarization
29d941f6-9414-4381-b634-9b51a662d88b
Latency
2687ms
Cost
$0.0005
Tokens
459
Status
successgemini-3-flash-preview
Workflow Graph
Trace
[
{
"data": {
"nodeType": "manualTrigger"
},
"event": "node_start",
"nodeId": "t",
"timestamp": 1780649371880
},
{
"data": {
"initialData": {
"diff": "diff --git a/src/utils/auth.ts b/src/utils/auth.ts\nindex 83db48f..f73a12b 100644\n--- a/src/utils/auth.ts\n+++ b/src/utils/auth.ts\n@@ -10,5 +10,5 @@\n-export function validateToken(token: string) {\n- return token === 'secret-key';\n-}\n+export async function validateToken(token: string) {\n+ const secret = process.env.JWT_SECRET;\n+ return await verify(token, secret);\n+}",
"text": "This PR updates the token validation logic to use environment variables and asynchronous JWT verification instead of a hardcoded string."
}
},
"event": "triggered",
"nodeId": "manualTrigger",
"timestamp": 1780649371880
},
{
"data": {
"status": "ok",
"nodeType": "manualTrigger"
},
"event": "node_end",
"nodeId": "t",
"timestamp": 1780649371880
},
{
"data": {
"nodeType": "llm"
},
"event": "node_start",
"nodeId": "facts",
"timestamp": 1780649371884
},
{
"data": {
"messages": 2,
"maxTokens": 400
},
"event": "calling openai/gpt-4o-mini",
"nodeId": "llm",
"timestamp": 1780649371884
},
{
"data": {
"model": "gpt-4o-mini",
"provider": "openai"
},
"event": "llm_call",
"nodeId": "_context",
"timestamp": 1780649371884
},
{
"data": {
"model": "gemini-3-flash-preview",
"costUsd": 0.00031739999999999996,
"provider": "openai",
"latencyMs": 1365,
"promptTokens": 158,
"completionTokens": 108
},
"event": "llm_result",
"nodeId": "_context",
"timestamp": 1780649373251
},
{
"data": {
"status": "ok",
"nodeType": "llm"
},
"event": "node_end",
"nodeId": "facts",
"timestamp": 1780649373251
},
{
"data": {
"nodeType": "llm"
},
"event": "node_start",
"nodeId": "sum",
"timestamp": 1780649373256
},
{
"data": {
"messages": 2,
"maxTokens": 400
},
"event": "calling openai/gpt-4o-mini",
"nodeId": "llm",
"timestamp": 1780649373256
},
{
"data": {
"model": "gpt-4o-mini",
"provider": "openai"
},
"event": "llm_call",
"nodeId": "_context",
"timestamp": 1780649373256
},
{
"data": {
"model": "gemini-3-flash-preview",
"costUsd": 0.0001965,
"provider": "openai",
"latencyMs": 1310,
"promptTokens": 130,
"completionTokens": 63
},
"event": "llm_result",
"nodeId": "_context",
"timestamp": 1780649374567
},
{
"data": {
"status": "ok",
"nodeType": "llm"
},
"event": "node_end",
"nodeId": "sum",
"timestamp": 1780649374567
}
]