Skip to content

Commit bd8e5eb

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 <[email protected]>
1 parent 877b451 commit bd8e5eb

File tree

8 files changed

+725
-36
lines changed

8 files changed

+725
-36
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
@@ -295,7 +295,6 @@ export const runAgentStep = async (
295295
state,
296296
fullResponse: fullResponseAfterStream,
297297
fullResponseChunks,
298-
messageId,
299298
} = await processStreamWithTools({
300299
stream,
301300
ws,
@@ -403,7 +402,7 @@ export const runAgentStep = async (
403402
agentState,
404403
fullResponse,
405404
shouldEndTurn,
406-
messageId,
405+
messageId: null,
407406
}
408407
}
409408

0 commit comments

Comments
 (0)