Skip to content

Commit 3f3d547

Browse files
Resolve merge conflict in stream-parser.ts and improve benchify integration error handling; implement batch execution for deferred str_replace operations to improve reliability and observability.
🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
1 parent 8150802 commit 3f3d547

File tree

8 files changed

+726
-37
lines changed

8 files changed

+726
-37
lines changed

backend/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
},
2525
"dependencies": {
2626
"@ai-sdk/google-vertex": "3.0.6",
27+
"benchify": "^0.1.0-alpha.41",
2728
"@ai-sdk/openai": "2.0.11",
2829
"@codebuff/billing": "workspace:*",
2930
"@codebuff/common": "workspace:*",

backend/src/run-agent-step.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,6 @@ export const runAgentStep = async (
327327
state,
328328
fullResponse: fullResponseAfterStream,
329329
fullResponseChunks,
330-
messageId,
331330
} = await processStreamWithTools({
332331
stream,
333332
ws,
@@ -435,7 +434,7 @@ export const runAgentStep = async (
435434
agentState,
436435
fullResponse,
437436
shouldEndTurn,
438-
messageId,
437+
messageId: null,
439438
}
440439
}
441440

0 commit comments

Comments
 (0)