Skip to content

Commit 00af27a

Browse files
committed
pass system through to runProgrammaticStep
1 parent 60dde5a commit 00af27a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

backend/src/run-agent-step.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -615,6 +615,7 @@ export const loopAgentSteps = async (
615615
localAgentTemplates,
616616
prompt: currentPrompt,
617617
params: currentParams,
618+
system,
618619
stepsComplete: shouldEndTurn,
619620
stepNumber: totalSteps,
620621
})

backend/src/run-programmatic-step.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ export async function runProgrammaticStep(
4848
template,
4949
prompt,
5050
params,
51+
system,
5152
userId,
5253
userInputId,
5354
clientSessionId,
@@ -62,6 +63,7 @@ export async function runProgrammaticStep(
6263
template: AgentTemplate
6364
prompt: string | undefined
6465
params: Record<string, any> | undefined
66+
system: string | undefined
6567
userId: string | undefined
6668
userInputId: string
6769
clientSessionId: string
@@ -160,6 +162,7 @@ export async function runProgrammaticStep(
160162
repoId,
161163
agentTemplate: template,
162164
localAgentTemplates,
165+
system,
163166
sendSubagentChunk: (data: {
164167
userInputId: string
165168
agentId: string

0 commit comments

Comments
 (0)