Skip to content

Commit cfa8c64

Browse files
committed
fix: typecheck
1 parent f0aa4d5 commit cfa8c64

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

backend/src/run-agent-step.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ import type {
3333
FinishAgentRunFn,
3434
StartAgentRunFn,
3535
} from '@codebuff/common/types/contracts/database'
36+
import type { SendActionFn } from '@codebuff/common/types/contracts/client'
3637
import type { Logger } from '@codebuff/common/types/contracts/logger'
3738
import type { ParamsExcluding } from '@codebuff/common/types/function-params'
3839
import type { Message } from '@codebuff/common/types/messages/codebuff-message'
@@ -56,6 +57,7 @@ export const runAgentStep = async (
5657
clientSessionId: string
5758
fingerprintId: string
5859
onResponseChunk: (chunk: string | PrintModeEvent) => void
60+
sendAction: SendActionFn
5961

6062
agentType: AgentTemplateType
6163
fileContext: ProjectFileContext
@@ -105,6 +107,7 @@ export const runAgentStep = async (
105107
fingerprintId,
106108
clientSessionId,
107109
onResponseChunk,
110+
sendAction,
108111
fileContext,
109112
agentType,
110113
localAgentTemplates,
@@ -258,6 +261,7 @@ export const runAgentStep = async (
258261
)
259262
}
260263
},
264+
sendAction,
261265
promptAiSdkStream,
262266
logger,
263267
includeCacheControl: supportsCacheControl(agentTemplate.model),

backend/src/run-programmatic-step.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ export async function runProgrammaticStep(
192192
agentType: string
193193
chunk: string
194194
prompt?: string
195+
forwardToPrompt?: boolean
195196
}) => {
196197
sendAction({
197198
action: {

0 commit comments

Comments
 (0)